dPrevention prevents grief and let your players claim their land on your Minecraft server, written in dScript.
- Install the dependencies listed below.
- Download dPrevention and drop the external folder into your
/plugins/Denizen/scriptsfolder. - You can change the following hexcodes listed below under the Colors key in the
config.ymlof Denizen to use the colors dPrevention uses or use your own ones.
Colors:
emphasis: <&color[#0066ff]>
base: <&color[#d9d9d9]>- Join your Minecraft Server and type
/ex reloadto reload your scripts. - Configure permissions listed here.
Denizen: https://www.spigotmc.org/resources/denizen.21039/
Area Selector Tool by mcmonkey: https://forum.denizenscript.com/resources/area-selector-tool.1/
Use /dprevention create cuboid/ellipsoid/sphere/polgon <name> after you selected your area, to create the claim.
Vault: https://www.spigotmc.org/resources/vault.34315/
Any permission plugin such as LuckPerms: https://www.spigotmc.org/resources/luckperms.28140/
Any economy plugin with Vault support or an economy script. https://meta.denizenscript.com/Docs/Languages/economy#economy%20script%20containers
Please take some time to read this forum thread. It comes up with tiny useful scripts you can start with, but also contains an Auto-saver script that saves denizen files, which also dPrevention benefits from.
This is an open source project, provided entirely freely, for everyone to use and contribute to.
If you make any changes that could benefit the community as a whole, please contribute upstream.
You can do basically whatever you want, except you may not hold any developer liable for what you do with the software.
The MIT License (MIT)
Copyright (c) 2021-2023 Hydroxycobalamin
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE