Pacifism
Introduction:
Pacifism is a lightweight server plugin that allows players to keep their items and experience on death if they're a pacifist. A player can only become a pacifist after not killing mobs and/or players for a specified period of time. When they kill, their timer gets reset and if they have pacifism they lose it. Pacifists can also healthemselves which has a cooldown.
Features:
- Pacifists can keep items, armor, and experience on death.
- They also can heal themselves with a command.
- Pacifist timer and heal cooldown are configurable.
- What pacifists lose on death is configurable. (Pacifism 0.2)
Commands:
- /pacifism - Attempts to get Pacifism.
- /heal - Attempts to heal the player if they're a pacifist.
- /removepacifist <name> - Removes a player's pacifist, no arguments removes all pacifists. (OP ONLY)
- /pacifistinfo - Players/Pacifists use this to see what pacifists lose on death. (Pacifism 0.2)
Permissions:
This plugin does not use permissions.
Configuration:
To edit this plugins configuration, you must run the plugin once and then config.yml is created. Edit the values of the config to your liking, afterwards reload your server. The following values are configurable so far..
- Visual effect when healing.
- Sound effect when healing,
- Amount of time it takes to become a pacifist. (minutes)
- Cooldown between each time you use /heal. (seconds)
- Whether killing a player causes the timer to reset / causes pacifist to be lost.
- Whether killing a monster causes timer to reset / causes pacifist to be lost.
- What pacifists lose on death (ex: items/armor/experience) (Pacifism 0.2)
Known Bugs:
- None so far, please test/report!
Please private message me / leave a comment / submit a ticket if you have any questions, suggestions, bug reports, or feedback! This project will remain in beta until all intended features are complete. When upgrading from an old version to a new version, it is highly suggested to delete your old "config.yml" or you may have issues.
This plugin is a great idea, and I think it should be more popular tbh :P
This is very good, installing onto my sever now thanks C:
Thanks for the suggestion and feedback! I'll add permissions into the next update.
Permissions nodes would be a great addition! Otherwise, nice plugin.
great idea!