Configuration - YorickBM/TwerkingCrops GitHub Wiki
The Twerking-Crops plugin has a few configuration files & data files. You can find information for each kind of file below & what each one has to offer!
The configuration file contains some basic configurations for example, what functions have been enabled for you or what the range is for twerking. This config file can be modified In-Game with the command '/set' or the file itself. Note that the file can only be modified if the server has been shut down! So we recommend using the '/set' command In-Game.
Blacklists can be found in the main folder. These files contain a basic list of all the items that have been blacklisted within. These lists can be modified In-Game with the command '/blacklist' or the file itself. When editing the file please use the command '/blacklist reload' to update it! If you don't do this, your changes will not apply! Also after adding several items its important to save the file with '/blacklist save'. If not the added/removed items can be lost on reload and or shut down.
Data files we currently have two data files, both can be found in the 'data' folder. These data folders are updated by the plugin on shut down, reload and startup. These files contain location information about the crops for the timer and the melon/pumpkins that have been grown by the plugin. This is done so we can keep track of all the crops. Important to note is that these files won't load preview existing crops! Meaning that once you add the plugin it will collect data, the crops that have already been placed will not be affected.
The plugin currently provides two language files on installation. Dutch & English both can be found in the 'lang' folder. These files contain all the messages from the plugin & can be modified to your own liking. These language files are also tracked by us, to see what kind of languages are being used so we can add more default languages that are desired. You won't need to translate it yourself. We urge you to create a new language file when using a different language! A Language file also has a few variables that can be used, you can find all of them in the table below:
Variable | Used By | Description |
---|---|---|
%functions% | Set Command | Lists all possible functions of the set command. |
%Langs% | Set Command | Lists all found languages in the 'lang' folder. |
%Result% | Set Command | Gets the result of the set command execution |
%Func% | Set Command | Gets the function that has been entered into the command. |
%Reason% | Set Command | Gets the reason why the set command has failed in the execution. |
%action% | Blacklist Command | Gets the action that has been entered into the command. |
%item% | Blacklist Command | Gets the item that has been entered into the command. |
%blacklist% | Blacklist Command | Gets the blacklist that is being affected by the execution. |
%ShiftingRate% | Twerking Per Second | Gets the rate the user is crouching on. |