Necessities (1.8.x-1.20.x) +-+ WEIGHT AND BLADDER+-+
2.6.2Adds weight and bladder to make minecraft like real life! Everything is configurable!
2.6.2latestFixed placeholdersJan 26, 2023 In this update, I fixed the placeholder issue with 1.19.3. As always, if you find any bugs please feel free to contact me and I will assist you. Thank you!!2.6ADDED RELOAD COMMAND AND CUSTOM YMLFeb 22, 2022 NECESSITIES v2.6 UPDATE: · Separated the player data into its own players.yml file. This was previously being stored in the config.yml file. · Added necessities reload command. /necessities reload. This means you no longer need the recommended plugman plugin to reload any changes. The permission for this is necessities.reload · Fixed a small bug when entering /necessities If you have any problems please PM me and I will get back to you as soon as possible. I am also open to any suggestions. Thanks!2.5.7Bug Fixes + New Feature (Part 1 out of 2)Aug 12, 2019 · Fixed the bladder / weight feature enable / disable bug · Fixed the auto bathroom enable / disable bug · Fixed the plugin info version typo · Fixed up some code that was unneeded · Added effects to players when they use the bathroom (BLINDNESS AND CONFUSION). As of right now it is not customizable in the config, but the effect(s) and duration will be customizable soon.. · Multiple sound FX support coming soon. · Added option to enable or disable the bathroom use effects. · Added a reload command that is in the works.. should work soon. These are just some minor fixes. The majors will be done in the next following days when I have the time. Don't forget to leave a review . Feel free to leave suggestions in the discussion tab, or report any bugs found. Enjoy. updated config: Code (Text): # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Necessities plugin by MehBoss (created on 2/2/2017) # # Version v2.5.7 # # # # ( ! ) INSTALL PLUGMAN TO EDIT CONFIG WITHOUT FULLY SHUTTING DOWN YOUR SERVER ( ! ) # # You may either use the itemID number or the itemNAME. # # # # Every block walked it takes away '1' from you weight.. (CONFIGURABLE) # # CONFIG PLACE HOLDERS: # # %PERMISSION% = gets replaced with one of the permissions depending on which command you did # # %AMOUNT% = gets replaced with the amount added # # # # SCOREBOARD PLACE HOLDERS: # # %necessities_weight% # # %necessities_bladder% # # MUST HAVE PLACEHOLDERAPI INSTALLED TO WORK # # # # Sounds: # # ( ! ) 1.11 SOUNDS AND 1.8 SOUNDS CHANGED! FIND 1.11 SOUNDS ON MINECRAFT WIKI.. ( ! ) # # https://dev.bukkit.org/projects/justsound/pages/sound-list # # # # CHANGE THE SOUND STRING TO 'none' IF YOU DON'T WANT A SOUND PLAYED # # WHEN YOU USE THE BATHROOM. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # PERMS: | necessities.bathroom (DEFAULT) | necessities.bladder (DEFAULT) | # # | necessities.weight (DEFAULT) | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Items: CARROT: 10 APPLE: 10 COOKED_BEEF: 10 BEEF: 10 COOKED_CHICKEN: 10 CHICKEN: 10 COOKED_PORKCHOP: 10 PORKCHOP: 10 COOKED_MUTTON: 10 MUTTON: 10 MUSHROOM_STEW: 10 BREAD: 10 GOLDEN_APPLE: 10 FISH: 10 COOKED_FISH: 10 CAKE: 10 COOKIE: 10 MELON: 10 ROTTON_FLESH: 10 SPIDER_EYE: 10 POTATO: 10 BAKED_POTATO: 10 POISONOUS_POTATO: 10 PUMPKIN_PIE: 10 RABBIT: 10 COOKED_RABBIT: 10 RABBIT_STEW: 10 Potion-Drink: Thirst: 10 Blocks-Walked: Walked-Blocks: 2 Weight-Removed: 1 Bathroom-Use: Block: 'CAULDRON' Sound: 'LEVEL_UP' Automatic-Use: 'true' Automatic-Use-Seconds: 5 Player-Effect: 'true' Messages: Prefix: '&8[&e&lNecessities&8] ' Time: '&7Wait %time% seconds until your bladder has been fully emptied...' Use-Bathroom-Automatic: '&7You can not use this command because your bladder automatically empties while standing on the required item!' Full-Bladder: '&7You can''t drink this, your bladder is full. You must use the bathroom!' Max-Weight: '&7You can''t do this, you have max weight compacity. You must walk to lose weight!' Predict-Weight-Increase: '&7You can''t eat this, you will have max weight compacity!' Predict-Bladder-Increase: '&7You can''t drink this, you will have a full bladder!' Weight-Increase: '&7You filled your stomach. Your weight has increased by %AMOUNT%' Bladder-Increase: '&7You hydrated yourself. Your bladder has filled up by %AMOUNT%' Not-On-Cauldron: '&7You have to be on a cauldron to use the bathroom!' Bladder-Empty: '&7Your bladder is empty' Use-Bathroom: '&7You emptied your bladder using the toilet.. your bladder is now empty' No-Perm: '&cYou do not have the permission &8(&a%PERMISSION%&8)&c to execute this command.' Bladder-Total: '&a&lBladder &8>> &7%AMOUNT%&8/&7100' Weight-Total: '&a&lWeight &8>> &7%AMOUNT%&8/&7100' Not-Enabled: '&7This feature is disabled!' Reload: '&aNecessities has been reloaded!' Toggle: Weight-Enabled: 'true' Bladder-Enabled: 'true'2.5.6Necessities (v2.5.6) +-+ WEIGHT AND BLADDER+-+Aug 11, 2019 +-+UPDATE+-+ Necessities(v2.5.6) +-+UPDATE+-+ Added Scoreboard Placeholders · Must have placeholderAPI installed in order for these to work. · Weight Placeholder: %necessities_weight% · Bladder Placeholder: %necessities_bladder%2.5.5Necessities (v2.5.5) +-+ WEIGHT AND BLADDER+-+Aug 7, 2019 +-+UPDATE+-+ Necessities(v2.5.5) +-+UPDATE+-+ · Fixed a bug that kept the bladder feature enabled even when it was disabled in the config. · Added a new future to automatically clear your bladder while standing on the required block without having to type a command New Portions: Code (Text): Bathroom-Use: Automatic-Use: 'true' # enable/disable auto bladder empty feature Automatic-Use-Seconds: 5 # time in seconds to wait when standing on bathroom block Messages: Time: '&7Wait %time% seconds until your bladder has been fully emptied...' Use-Bathroom-Automatic: '&7You can not use this command because your bladder automatically empties while standing on the required item!'2.5.4Null Error FixJul 7, 2017 · It now shows no error in console if the item is not in the config. This can be used for if you don't want a certain item to give weight. ~ Just remove the item from the config.2.5.3Necessities (v2.5.3) +-+ WEIGHT AND BLADDER+-+Feb 22, 2017 +-+UPDATE+-+ Necessities(v2.5.3) +-+UPDATE+-+ ( ! ) CONFIGURABLE ( ! ) · Added a 1.11 MC sound page link to the config. · Added a feature so you can change the bathroom-use sound to 'none' if you don't want a sound played when you use the bathroom. · ( ! ) You don't need to delete your config, not a big config change. If you want to, don't forget to copy your player data ( ! ) ( ! ) CONFIGURABLE ( ! )2.5.2Bug FixFeb 17, 2017 · Fixed a small bug.2.5.0Necessities (v2.5.0) +-+ WEIGHT AND BLADDER+-+Feb 10, 2017 +-+UPDATE+-+ Necessities(v2.5.0) +-+UPDATE+-+ ( ! ) CONFIGURABLE ( ! ) · Made it so you can toggle the weight feature or the bladder feature. · Fixed file generation name. · Added a help page. ( ! ) CONFIGURABLE ( ! )2.0NEW SUGGESTED FEATURESFeb 7, 2017 +-+UPDATE+-+ Necessities(v2.0) +-+UPDATE+-+ ( ! ) CONFIGURABLE ( ! ) · Made it so you can change the bathroom-block that you are required to stand on when using the bathroom. · Added a sound to be played when using the bathroom. ( ! ) CONFIGURABLE ( ! )1.0Feb 6, 2017
Similar projects
Config →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta