Sueta

UltraUtilities

1.0.5

A plugin that prevents players to kill their own selves with a bow.

·Plugin


This is a very simple plugin that prevents a player to hurt their own selves with a bow, this is useful for servers that give rewards when a player kills another player and so someone can abuse it by simply killing their selves and get alot of currency.


⭐ Super Lightweight!
⭐ Fully customizable!
⭐ Prevents bow self damage.

Commands
Command: /ultrautilities
Description: Shows the help page.
permission: ultrautilities.help

Command: /ultrautilities config
Description: Shows the values you set in the config.
permission: ultrautilities.config
Aliases: /ultrautilities configuration, /ultrautilities conf

Command: /ultrautilities check
Description: Checks if there's any update available.
permission: ultrautilities.update.check
Aliases: /ultrautilities c

Command: /ultrautilities version
Description: Shows the plugin's version.
permission: ultrautilities.version
Aliases: /ultrautilities v

Command: /ultrautilities reload
Description: Reloads the configuration.
permission: ultrautilities.reload
Aliases: /ultrautilities r

Permissions
ultrautilities.*:
      description: All permissions at once.
      default: op
      children:
            ultrautilities.config: true
            ultrautilities.version: true
            ultrautilities.reload: true
            superheal.update.check: true
            superheal.update.notification: true

ultrautilities:
      description: Allows you to see the help page.
      default: true

ultrautilities.config:
      description: Shows the values you have set in the config.
      default: op

ultrautilities.version:
      description: Shows the plugin's version.
      default: op

ultrautilities.reload:
      description: Reloads the configuration.
      default: op

config.yml
#+------------------------------+#
#+                              +#
#+        UltraUtilities        +#
#+          (C) Zakra           +#
#+                              +#
#-------------------------------+#
#+                              +#
#+          Configuration       +#
#+                              +#
#-------------------------------+#

Updater:
  check-for-updates: true
  update-notification-on-join: true
#Spigot Page: https://bit.ly/2qVgmgZ

Aliases:
  Commands:
    UltraUtilities:
      - "/uu"
      - "/ultrau"

Bow:
  disable-self-damage: true
  #For this to work you need to have the option above enabled!
  disable-self-damage-on-low-life-only: false
  #1 heart = 2.0, 1 bar of health = 20.0, this will set the life a player needs to have so they won't take damage from their own arrows.
  amount-of-life-before-disable-self-damage: 2.0
messages.yml
#+------------------------------+#
#+                              +#
#+        UltraUtilities        +#
#+          (C) Zakra           +#
#+                              +#
#-------------------------------+#
#+                              +#
#+            Messages          +#
#+                              +#
#-------------------------------+#

prefix: "&7[&d&lUltra&a&lUtilities&r&7] &f&l»&r "

Updater:
  update-check-command-available:
    - "&8• &cYou are using an older version of &d&lUltra&a&lUtilities&r&c! &4[&d%version%&4]"
    - "&8• &aDownload the newest version here&f:"
    - "&1• &bhttps://bit.ly/2FbvBr0"
  update-check-command-latest: "&aYou are using the latest version of UltraUtilities! [%version%]"
  update-notification-on-join:
    - "&4&m==============================================="
    - "&8• &cYou are using an older version of &d&lUltra&a&lUtilities&r&c! &4[&d%version%&4]"
    - "&8• &aDownload the newest version here&f:"
    - "&1• &bhttps://bit.ly/2FbvBr0"
    - "&4&m==============================================="

Other:
  version-message: "&aYou are using version &e%version%"
  reload-complete-message: "&aConfiguration has been reloaded! ✔"

Permissions:
  update-check-no-permission: "&c&lHey! &r&cYou don't have permissions to use this command!"
  config-no-permission: "&c&lHey! &r&cYou don't have permissions to use this command!"
  version-no-permission: "&c&lHey! &r&cYou don't have permissions to use this command!"


Listed per priority

  • A message when someone tries to hurt their selves with a bow.
  • A log where all events and what players did it maybe?
  • More bow fixes.
  • In-game configuration.
  • Maybe aliases for sub-commands, if requested.

Don't hesitate to post your ideas :)

  • Java 9


Ask in Discussion for anything you like, bug reports, questions, suggestions. Also I will make my GitHub page soon and maybe make a discord server?
Discord: Zakra#6131


Facebook | Youtube

  1. Place UltraUtilities.jar in your /plugins folder.
  2. Restart your server or load the plugin with a plugin manager.
  3. Done!

  • Graphic designing was made by me.
  • If you are a YouTuber that makes tutorial on plugins, I would appreciate it if you could make a tutorial for this plugin, not that it's that hard to be used but why not?
  • If you enjoy the plugin consider donating:

  1. You won't claim this plugin as your own!
  2. You won't decompile this plugin!
  3. You won't modify the code of this plugin!

Similar projects

Plugin →