✦ TrickOrTreat ✦ | Ultimate recreation of the famous halloween tradition icon

✦ TrickOrTreat ✦ | Ultimate recreation of the famous halloween tradition -----

Collect sweets and ingredients, customize your costume. Ultimate Halloween fun!




UPDATE v0.7.0
Support for Minecraft 1.21.3!


I hope y'all had a great halloween season!

Changelogs:

  • [~] Updated dependencies to support Minecraft 1.21.3!
  • [-] Fixed bug which caused a corrupted costume to be written into the database.
Config changes
None


If you enjoyed this seasons TrickOrTreating how about a little review? :)
----------, Nov 9, 2024

UPDATE v0.6.9
Support for Minecraft 1.21.x!


Spooktober just began so TrickOrTreat is back for 2024's halloween season!

Changelogs:

  • [~] Updated dependencies to support Minecraft 1.21.x!
  • [+] Added Correct Costume found message if all armor parts have been found.
  • [+] Added cool firework effect when the correct costume has been found.
Config changes
None


If you are in need of support, please visit my Discord :)
----------, Oct 3, 2024

UPDATE v0.6.8
Updated libraries / Restored support for all minecraft versions


Halloween is near and so please enjoy this little library update!

Changelogs:

  • [~] Updated XSeries library to fix important bug regarding loading skins. Thanks to @CryptoMorin for the update!
Config changes
None


If you are in need of support, please visit my Discord :)
----------, Oct 26, 2023

UPDATE v0.6.7
Support for Minecraft 1.20.2


Halloween is near and so is TrickOrTreat back with an update to support the newest version of minecraft!

Changelogs:

  • [+] Added support for Minecraft 1.20.2
  • [~] Updated some internal libraries (XSeries)
Config changes
None


If you are in need of support, please visit my Discord :)
----------, Oct 7, 2023

UPDATE v0.6.6
Support for Minecraft 1.20.x


Halloween is near and so is TrickOrTreat back with an update to support the newest version of minecraft!

Changelogs:

  • [+] Added support for Minecraft 1.20.x
  • [+] Updated all libraries such as NBTAPI
Config changes
None


If you are in need of support, please visit my Discord :)
----------, Sep 19, 2023

UPDATE v0.6.5
QoL improvements

Setup Item "Sneak + Right Click" meachnic has been removed!!!

Changelogs:

  • [~] Removed the "Sneak + Right Click" mechanic and replaced it by simply dropping the setup item!
  • [~] Improved the setup not finished message.
  • [-] Fixed PacketSend exception.
Config changes
None


If you are in need of support, please visit my Discord :)
----------, Oct 28, 2022

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 :)
----------, Oct 1, 2022

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 :)
----------, Oct 1, 2022

UPDATE v0.6.3
Spooky MySQL update!

Optional config.yml update

Changelogs:

  • [+] 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 :)
----------, Oct 25, 2021

UPDATE v0.6.2
Its getting sweet!

!!You need to update your config.yml!!

Changelogs:

  • [+] 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 :)
----------, Oct 22, 2021

UPDATE v0.6.1
Blow the dust off and get ready for halloween!

TrickOrTreat is back!

Changelogs:

  • [+] Added support for 1.17.x!
  • [-] Fixed issues with Base64 skins not getting recognized by the villagers.
No config changes
No config changes :)

If you are in need of support, please visit my Discord :)
----------, Sep 26, 2021

UPDATE v0.5.9
Spooky new features!

CONFIG UPDATE REQUIRED!

Changelogs:

  • [-] 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>
  • [+] You can now use Base64 skins for the heads! Simply go to https://minecraft-heads.com/custom-heads/tags/var/Halloween , select a head and copy the "value" to the config.yml instead of the head playername!
  • [+] 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!"
----------, Oct 29, 2020

UPDATE v0.5.8
Creepy Hotfix!

Changelogs:

  • [-] Fixed an issue that prevented the plugin from starting when using DeluxeShop.
  • [~] Updated the DeluxeShop hook. Please download the newest version of DeluxeShop for this. Thank you for the plural / singular request @NoHoPeLess
  • [+] Added /tot sweets command to be run in the console. Thank you for the idea @Pranklez
No config changes
----------, Oct 19, 2020

UPDATE v0.5.7
Spooky Door Errorfix!

Changelogs:

  • [-] Fixed a bug on older versions (1.8.8 - 1.12) which printed "Please click on a door!" and prevented you from setting up the plugin.
No config changes
----------, Oct 12, 2020

UPDATE v0.5.6
DeluxeShops support!

Changelogs:

  • [+] 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.
No config changes
----------, Oct 11, 2020

UPDATE v0.5.5
Buh!

Changelogs:

  • [+] Added /tot sweets add/remove/set player amount command! Thank you for the idea @Pranklez
No config changes
----------, Oct 8, 2020

UPDATE v0.5.4
TrickOrTreat is back!

Changelogs:

  • [+] Added support for 1.14.4, 1.15.2, 1.16.x!
  • [+] The plugin now uses XSeries
  • [+] Reworked some code
  • [+] Cleaned up some code
  • [+] Refreshed the skins and heads in the config.yml
No config changes
----------, Sep 23, 2020

UPDATE v0.5.3
Happy halloween ;)

Changelogs:

  • [-] Removed bug where the /tot join command has thrown an error in older versions.
No config changes
----------, Oct 26, 2019

UPDATE v0.5.2
Happy halloween ;)

Changelogs:

  • [+] 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)
No config changes
----------, Oct 23, 2019

UPDATE v0.5.1

Changelogs:

  • [+] Added PlaceholderAPI support
  • [+] Removed old LeaderHeads support because LeaderHeads uses now Papi / Mvdw placeholders only
  • [+] Added tools to the /tot command
  • [-] Fixed issue that removed the last entry of each list
  • [-] Switched from Metrics to MetricsLite
  • [+] Added PAPI placeholders: sweets, doors_found, sweets_average, is_at_door, current_ingredient, current_head, chestplate, leggings, boots
No config changes
----------, Sep 29, 2019

UPDATE v0.5

Changelogs:

  • [+] Added always_night option. With this option set to true you can lock the time on your TrickOrTreat worlds to a certain tick
  • [+] Added random_thunder option. With this option set to true you can let lightnings appear to random players on your TrickOrTreat worlds. Spooky!
  • [-] Removed bug where players got 100% of the configured sweets when they had the default costume
  • [+] When a player plays TrickOrTreat for the first time he wont get a default costume anymore.
  • [+] You can now rename the title of the gamemenu
  • [-] Removed bug where the plugin didnt recognized a placed door
  • [-] Removed old ingame tutorial and replaced it with a link to the detailed trickortreat wiki!
  • [?] For all german buyers: Check out the new german messages.yml translation!
  • [?] Updated italian message translation
Config changes:

Add following lines into your config.yml:
Code (YAML):
World :

  # These are some world settings. Following configurations
  # only apply to the 'General.enabled_worlds' you have
  # selected before.
 
  # Decide if it should be always night time
  always_night
: false
 
  # Set the correct time (in ticks) for night time
  # ( Default minecraft night: 20000 ticks )
  night_ticks
: 20000
 
  # Decide if it should randomly thunder
  # ( Lightning strikes in, in front of a
  # random player on your world
  random_thunder
: false
 
  # Delay between every thunder
  random_thunder_delay
: 240
Add following line into your messages.yml:
Code (Text):
# Change the title of the trickortreat gamemenu
gamemenu_title: "&4TrickOrTreat"
Ideas?
Do you have some ideas I could add for the upcoming halloween season? Please PM me them I will add them asap ;)
----------, Jun 21, 2019

UPDATE v0.4.9.1

Changelogs:

  • [+] Added support for MC Version 1.14!
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!
----------, May 11, 2019

UPDATE v0.4.9

Changelogs:

  • [+] 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

Or delete the config.yml and generate a new one.
----------, Jan 11, 2019

UPDATE v0.4.8

Changelogs:

  • [+] 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
Or delete the config.yml and generate a new one.
----------, Jan 2, 2019

UPDATE v0.4.7

Changelogs:

  • [+] 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 ;)
----------, Nov 18, 2018

UPDATE v0.4.6

Changelogs:
  • [+] Reduced the door knocking animation time
----------, Nov 17, 2018

UPDATE v0.4.5

Changelogs:
  • [+] 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!

If you like to contact me join our amazing discord:

https://discord.gg/MGTSYjS
----------, Nov 11, 2018

UPDATE v0.4.4
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
  • [+] Reworked the build-in updater
----------, Nov 5, 2018

UPDATE v0.4.3

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"
----------, Nov 4, 2018

UPDATE v0.4.2

Changelogs:
  • [+] Some code cleanup (removed unused methods, imports and so on)
Future: Im planing a Shop Addon for TrickOrTreat. With this Shopaddon you could convert for rewards into Items, Levels and money.
----------, Oct 31, 2018

UPDATE v0.4.1

Changelogs:
  • [+] Added new lobby listener: Players wont get fall damage anymore when you activated the lobby listeners in the config.yml
  • [+] Edited default config for 1.13 upwards
----------, Oct 30, 2018

UPDATE v0.4

Changelogs:
  • [+] 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.

1.13 Sounds: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
1.13 Materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html


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.
----------, Oct 28, 2018

UPDATE v0.3.4

Changelogs:
  • [+] Added new API methods such like removeRewards and addRewards
  • [+] Added new description for editing doors and ingredients.
Code (Text):

public void removeRewards(Player target, int amount)
// Removes rewards from a certain player

public void addRewards(Player target, int amount)
// Adds rewards to a certain player
----------, Oct 27, 2018

UPDATE v0.3.3

Changelogs:
  • [+] Added a developer API where you can get access to some useful values from the plugin
Code (Text):
Get access to TrickOrTreat API and check if the plugin is available

if (Bukkit.getPluginManager().getPlugin("TrickOrTreat") != null) {
         
   // Do some stuff...
         
}


int rewards = TrickOrTreat.getAPI().getRewards(PLAYER);
// Returns amount of rewards a player has

int found_doors = TrickOrTreat.getAPI().getFoundDoors(PLAYER);
// Returns amount of found doors by a player

int doors_amount = TrickOrTreat.getAPI().getDoorAmount();
// Returns amount of set doors

boolean open = TrickOrTreat.getAPI().openGameMenu(PLAYER);
//Opens the game menu for a player and returns true or false if succeeded
----------, Oct 25, 2018

UPDATE v0.3.2

Bugfixes:
  • [-] Removed bug where the nobody at home percentage is calculated wrong
  • [-] Removed bug where you need to configurate ingredients even if you disabled them in the config.yml, to start the trick or treating
Changelogs:
  • [+] Added new command: /tot reset <playername> <all, rewards, doors>. You can reset any playerdata from a player whose online.
----------, Oct 23, 2018

UPDATE v0.3.1

Changelogs:
  • [+] Added LeaderHeads support
  • [+] Added function so players cant knock on multiple doors at the same time, also added a message for it (See config changes)
Code (YAML):
LEADERHEADS SUPPORT

- tot-rewards (Shows the players with the highest amount of rewards )
- tot-doors (Shows the players with the most found doors )

Bugfixes: /
Config changes:

  • [+] Added youre_already_at_door in messages.yml that shows that youre already at a door and cant knock on another!
Add following line into your messages.yml
Code (YAML):
youre_already_at_a_door : "&cWait until you finished the TrickOrTreating at the other door!"
----------, Oct 23, 2018

UPDATE v0.3

Changelogs:

  • [-] 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!"
----------, Oct 22, 2018

UPDATE v0.2.1

Changelogs:

  • [+] Added support for 1.8.X, 1.9.X, 1.10.X, 1.11.X and 1.12.X
  • [+] Added new command: /tot setup (Just in case that the setup item wont work for you)
  • [+] Added two new sounds (Further information in the config changes section.)
Bugfixes:
  • [+] Added some try - catch clauses to prevent spamming your console, if you misspelled any sounds in the config.yml
Config changes:
  • [+] Added two new sounds
(How can I add these changes? Just copy the lines below and paste them under the Sounds: section in the config.yml)
Code (YAML):
  # This sound is played when a player opens the game menu
  menu_open
: "ITEM_ARMOR_EQUIP_ELYTRA"
 
  # This sound is played when a player click on an item in a menu
  menu_click
: "BLOCK_NOTE_BLOCK_SNARE"
----------, Oct 22, 2018

UPDATE v0.2

Bugfixes:
  • [-] Removed bug where random skins didnt work
  • [+] Players can now find ingredients in multiverse worlds
  • [-] Removed bug where the player taks didnt quite work

Changelogs: /
Config changes: /
----------, Oct 22, 2018

Resource Information
Author:
----------
Total Downloads: 182
First Release: Oct 21, 2018
Last Update: Nov 9, 2024
Category: ---------------
All-Time Rating:
18 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings