UPDATE v0.6.4 TrickOrTreat is back! !!CLEAN INSTALL REQUIRED!!
Changelogs:
[+] You can now force players to finish a task first before they knock on new doors.
[+] Compiled against Java 16
[+] Ingredient tasks now have a search amount. That means your players now have to search a specific amount of the ingredient to finish the task.
[+] Added progressbar to the task (in the game menu)
[+] Added compass for the /tot join menu that leads you to the door you have to deliver your ingredient to.
[+] You can now force your players to change their costume each time they knock on a door. This prevents them to farm sweets at 75%.
[+] You can now setup a respawn time for the ingredients. That means, if a player breaks the ingredient block it takes some time for it to respawn.
[~] The costume heads no longer support normal minecraft names as skins. You now have to use the custom Base64 skin codes from https://minecraft-heads.com/
[+] You can now specify a custom head as the game item (the default game item is now a trickortreat bag)
[+] Added "Deliver Ingredient" animation
[+] The tasks now get properly displayed in the game menu
[+] The plugin now has the newest version of NBTAPI and XSeries
Config changes This version of TrickOrTreat is NOT compatible with any older version. If you want to use TrickOrTreat v.0.6.4 you HAVE TO delete your TrickOrTreat folder first!
If you are in need of support, please visit my Discord
UPDATE v0.6.4 TrickOrTreat is back! !!CLEAN INSTALL REQUIRED!!
Changelogs:
[+] You can now force players to finish a task first before they knock on new doors.
[+] Compiled against Java 16
[+] Ingredient tasks now have a search amount. That means your players now have to search a specific amount of the ingredient to finish the task.
[+] Added progressbar to the task (in the game menu)
[+] Added compass for the /tot join menu that leads you to the door you have to deliver your ingredient to.
[+] You can now force your players to change their costume each time they knock on a door. This prevents them to farm sweets at 75%.
[+] You can now setup a respawn time for the ingredients. That means, if a player breaks the ingredient block it takes some time for it to respawn.
[~] The costume heads no longer support normal minecraft names as skins. You now have to use the custom Base64 skin codes from https://minecraft-heads.com/
[+] You can now specify a custom head as the game item (the default game item is now a trickortreat bag)
[+] Added "Deliver Ingredient" animation
[+] The tasks now get properly displayed in the game menu
[+] The plugin now has the newest version of NBTAPI and XSeries
Config changes This version of TrickOrTreat is NOT compatible with any older version. If you want to use TrickOrTreat v.0.6.4 you HAVE TO delete your TrickOrTreat folder first!
If you are in need of support, please visit my Discord
[+] The MySQL classes have been recoded. You are now able to use a custom mysql connection string and ssl. The mysql connection should also be more stable now.
[+] You now wont get any tools on /tot join when you have ingredients disabled.
Config changes Please add followin lines into your config.yml:
Code (YAML):
Storage:
# Whether you want to use the encrypted secure socket layer or not ssl: false
# # !EXPERT OPTION! # # Here, you have the chance to use a custom mysql connection string. # Writing something into here will directly disable the options above, # except of username and password. So please handle with care and only write # something into here if you know what you are doing!!! connection_string: ""
If you are in need of support, please visit my Discord
[+] Added a cool drop item animation once you are knocking on a door.
[-] Fixed issues with the plugin not disabling correctly if Citizens is not installed.
Config changes Please add followin lines into your config.yml:
Code (YAML):
GameSettings:
# Rewards settings # more reward settings can be found under the "Reward" section rewards: # If set to true, the NPC will throw items in your direction. This is just a visual effect. # The items will despawn after a few seconds and you can't pick them up. throw_items: true
If you are in need of support, please visit my Discord
[-] Fixed an issue with the /tot reload. Now, the plugin will really reload all settings.
[-] Fixed issue which prevented thief from spawning. Thieves are now more present! Watch out for your thief percentace, because now it could be to high.
[-] Fixed issue which caused tips from showing even if they were disabled. Thank you @HgeX for the report!
[+] You can now add an description for each ingredient! With this new setting, that only this new discription will be printed, its more difficult and challenging for your players!
[+] You can now add tips for heads! Simply go to the config.yml where you have configured your heads and add a tip to the head like this: <SKIN_NAME>:<HEAD_NAME>:<TIP>
[+] Added option which forces you to have joined the halloween event ( /tot join ) in order to trick or treat! This also adds a new message to the messages.yml ( See information below )
No config changes This update contains a lot of config changes so please read carefully:
1) config.yml Open your config.yml and go to the section General. Now add following lines: (Except General: )
Code (YAML):
General:
# If set to true, the players can only trick or treat, # when they joined the event with /tot join # ( Needs to have use_cach_inventorys to be set to true ) force_cach_inventory: false
2) messages.yml Open your messages.yml and add following lines:
Code (YAML):
# If configured, this message will print an ingredient description ingredient_description: -
" &e&lDescription" -
" &b<ingredient_description>" -
" " join_event_required: "&cYou need to join the TrickOrTreat event with &4/tot join &cin order to play!"
[+] Added support for DeluxeShops. DeluxeShops replaces the old TrickOrTreat shop. With this plugin, you can run commands when an item has been sold, you can apply requirements to purchase the item (such as: You need to have found at least 10 doors to buy this item), and more! Check it out here: https://www.spigotmc.org/resources/84671/
[-] The old TrickOrTreat Shop is no longer supported.
[+] You can now use custom heads (e.g from Heads plugins) as ingredients. Simply add a new ingredient and choose "Use custom heads" when you select a block.
[+] Updated the default config.yml (New skins, heads)
Important information: Ingredients that have been created in the mc version 1.13.2 or below could be broken because there are new material names in version 1.14. To be safe delete the ingredients before you update the plugin. You should also check the items.yml for new material names. When there is a mistake in the items.yml you should notice it by seeing that some icons in the inventories are replaced with stone.
Updates in the future: New awesome updates with new features are under developement for the coming halloween season, so be prepared for a great halloween!
[+] Added Metrics for bStats! I will release a plugin statistic on the ressource page soon. You can disable this feature in the config.
[+] Added new function to "cach inventories". Your last location will now be stored when you use /tot join. When you leave the game with /tot leave, you will get teleported back to the stored location.
[-] Removed "old" code
Config changes:
Simply add these changes to your current config.yml
Code (YAML):
General:
# You can choose if you want to use metrics # It has no advantages or disadvantages for your # server. Its just to get a overview for me (the author) # how many servers / players are using the plugin. # Info: Metrics collects information about your server # such as: player amount, machine software, processing units etc. use_metrics: true
[+] The costume heads are loading now asynchronous! (The first one, who opened the head page in the past had a long loading time. This is now fixed!)
[+] Added new option in the config.yml. In the configuration section "Lobby" is now the option "set_event_item_on_join". You can decide if the players will get the event item on join. You can also choose a slot where the item will put in.
[-] Removed some unused code
( [+] First implementation of new effects I will add soon! )
Bug-Fixes:
[-] Removed the old config load behaviour. There was an issue when the plugin have tried to check if the config.yml is up to date.
Config changes:
Simply add these changes to your current config.yml
Code (YAML):
Lobby:
# When the player joins on the server # he will get the event item, you need to # have to play the game. set_event_item_on_join:
enable: false
# Choose a slot in the hotbar # You can choose between 0 and 8 slot: 0
[+] Added an updater, which will send a notification ingame and in the console, if theres an update for TrickOrTreat!
[+] Removed some unused code
Notice: TrickOrTreat is a halloween plugin, but you can still use it between the halloween seasons. I try to update the plugin as often as I can until the next halloween season begins. You can post feature requests and ideas in the "Discussion" section of the plugin. Thank you
[+] Added spooky flickering pumpkins! (Open the setup menu and click on the pumpkin!)
!IMPORTANT INFORMATION!
TrickOrTreat is a halloween plugin. Now, because halloween is over, this plugin will still get updates. Its still fun to play and useable for your players! Just change the messages to your given topic. New amazing features will be added next year, to the next halloween season. Because spigot will remove inactive ressources I will change some things and fix bugs you guys send to me, from time to time.
Thanks to all my buyers and for all your amazing support!
New addon: I would like to mention that there is an addon available for the TrickOrTreat plugin. Its a shop system where players can convert their rewards into goodies. Check it out here: https://www.spigotmc.org/resources/62076/
Changelogs:
[+] You cant add doors in worlds anymore that are not enabled
[+] When you type in /tot join and the event isnt started right now, you will get a message now
[-] Removed unused commands
[-] Removed /tot setup command ( You need to use the setupitem now, (/tot setupItem))
[+] Added /tot join and /tot leave to the /tot help list
New wiki page: We have a new wiki page, for further information about the plugin, check it out here: https://www.spigotmc.org/wiki/trickortreat-wiki (You can edit or add new things if you want!)
Changelogs:
[+] Added two new command: /tot join, /tot leave. With these commands (you need to enable them in the config.yml) you can join / leave the TrickOrTreat event. While joining you will get the gameitem and a leave item, to leave the event. Meanwhile your old inventory will be stored. When you leave the TrickOrTreat event you will get the inventory back
[+] Added a new message, a new item and a new boolean in the config (See config changes)
[+] Added new mass creation mode in the Setup menu. With this mode you just need to right-click the door and the door will be added to the file system. With a left-click you can remove the door
[-] Removed entity location
Bugfixes:
[-] Removed Bug where players cant right-click the gameitem
[-] Removed Bug on first plugin startup, where the Update 0.3 threw an error
Config changes:
Add following lines into your config.yml:
Code (YAML):
# ADD FOLLOWING LINES UNDER THE SECTION "General:"
# You can decide if your players can use /tot join or /tot leave. # When they type in /tot join, their inventory will be saved # And they get the game item and a leave item # If they leave the event with the item or /tot leave, they will get # their inventory back use_cach_inventorys: false
Add following lines into your messages.yml:
Code (YAML):
you_already_joined_the_event: "&cYou already joined the event. Use &6/tot leave &cto leave the event!"
Add following lines into your items.yml:
Code (YAML):
# Item to leave the event after joining it Leave_item: "&c&oLeave event!SLIME_BALL!0!&c&oLeave the event"
[+] Added Support for MC Version: 1.13, 1.13.1, 1.13.2
Bug-Fixes:
[-] Removed Bug that you cant enable the TrickOrTreating when some ingredients are set
[-] Removed error message when the event location isnt set
Important: You need to update some items and sounds if youre using the MC version 1.13. You will get a message in the console when youre using old material names and sounds.
Note: This version is compiled with the newest version of spigot. Ive tested the plugin with following versions: 1.8.x, 1.12.x, 1.13.2. If youre having any issues with this new version please write me a PM.
[-] Removed old Gamelogic. Now you need to search the right costume for you, not for each door (It was impossible to gain 100% per door)
[+] Added an database update for this version, you dont need to do anything. The plugins updates all old doors in the database
[+] Added a message when you knock on a door (More information in the config changes section)
[+] Added an additional rewards option in the config.yml if you deliver the right ingredient to a door (More information in the config changes section)
Bugfixes:
[+] Fixed the tip calculation
Config changes:
[+] Added GameSettings.ingredients.additional_rewards, so you get rewards when you deliver an ingredient
[+] Added message for knocking on a door
(Add the line additional_rewards into your config.yml)
Code (YAML):
GameSettings:
# Enable or Disable the function that players need to search ingredients in your world to # get rewards ingredients:
enable: true
# The percentage that a players need to search an ingredient percentage: 60
# Additional ingredients when you deliver the ingredient additional_rewards: 10
(Add following lines in the messages.yml)
Code (YAML):
# Message to display, when you knock on a door knock_on_door: "&7&oKNOCK KNOCK!"