This addon requires Ultimate Clans 6.0.0+
For v5 use version 1.0.0
About:
Addon of: ⚔ Ultimate Clans V6 ⚔ | Take your server to a higher level
With this addon you can transfer storage data between YAML, MYSQL and SQLITE.
This is an administrative addon. Carefully read the instructions for use!
This addon must be installed in the folder "/plugins/UltimateClans/addons/"
Commands:
/clandata help - Show help menu.
/clandata reload - Reload settings.
/clandata create <-args> - Start exchange database.
This addon does not contain additional commands.
Possible arguments:
The arguments must be used as follows: -KEY:VALUE, for example: -port:3306
-host or -h > Host address, eg localhost, 127.0.0.1
-user or -u > Database username
-pass or -p > Database password
-port or -po > Connection port, commonly 3306
-base or -b > Name of the pre-created database where the data will be saved.
-clan_table or -ct > Name of the table where clan data will be saved, default: uclans-clans
-player_table or -pt > Name of the table where clan data will be saved, default: uclans-players
-sec or -s > How much data will be transmitted per second. recommended between 5 and 10.
After exporting the data, in the case of yaml or sqlite, a folder called storage will be created where the most recent file created will be, copy the file and place it in the destination folder for the clans storage. in the case of mysql you need to stop the server and change the storage mode in the storage.yml file for the table where you exported the data.
How to use:
SQLITE > MYSQL:
If you already use YAML or SQLITE mode in your storage.yml clans use example command:
/clandata create MYSQL -host:YOURHOST -base:YOUR-DATABASE -user:YOUR-PASSWD -port:PORT -clan_table:CLAN_TABLE-NAME -player_table:PLAYER_TABLE-NAME -sec:10
Some default data can be ignored when not added.
MYSQL > SQLITE:
If you already use YAML or MYSQL mode in your storage.yml clans use example command:
/clandata create SQLITE -sec:10
Some default data can be ignored when not added.
SQLITE > YAML:
If you already use SQLITE or MYSQL mode in your storage.yml clans use example command:
/clandata create YAML -sec:10
Some default data can be ignored when not added.