HideItem is plugin that allows players to toggle visibility of other players.
This plugin has been originally created by qKing12 (Link to his plugin page) and was recoded by me (1vomarek1)
When first started the plugin will 100% work. However some things can be configured more in depth (ex. item name & material, data storage ect.)
First thing you want to configure is storage method (How the plugin will store data)
how data will be stored (none, file, mysql) if set to none the plugin will store its data only to memory. If set to file data.yml file will be created and all data will be saved to it If set to mysql all data will be stored in mysql database (Mysql settings will be required) Using root user is not recommended
mysql:host: "localhost"port: 3306database: "HideItem"table: "HideItem"user: "root"password: ""
In this section there are settings related to items
defaultly set to false so all players can use hide item without getting no permission message. In case of setting it to true hideitem.toggle permission is required to use hideitem
what slot should the Item be on. if first-free-slot is set to true the HideItem will be added to first possible slot in players inventory so no item is overwritten. If first-free-slot is set to true you don't have to configure slot else the item will be set to slot (configurable) but the plugin could overwrite the item in that slot.
Should player be able to move or drop the item? If set to true player won't be able to move the item in their inventory and won't be able to drop it.
There are other settings related to hide item such as material, data, name, lore. (self explanatory)
# Settings of item when all players are visiblehide-item:material: "INK_SACK:10"name: "&eHide Players &7(Shown)"lore:- "&aClick &7to hide players"​# Settings of item when all players are hiddenshow-item:material: "INK_SACK:8"name: "&eHide Players &7(Hidden)"lore:- "&aClick &7to show players"
In this section there are settings related to commands and their aliases
defaultly set to false so all players can use /hideitem <show | hide | toggle> without getting no permission message. In case of setting it to true hideitem.<show, hide, toggle> permission is required to use /hideitem <show | hide | toggle>
should aliases be added to /hideitem <show, hide, toggle>? (all aliases can be configured) default aliases are /show, /hide and /toggleplayers
What should aliases for /hideitem <show, hide, toggle> be. (Defaultly /hide, /show, /toggleplayers) If use-aliases is set to false these aliases won't work
In this section there are all other settings (settings that didn't really fit other categories)
How long should cooldown for /hideitem <show, hide, toggle> and hideitem be There is separated cooldown for items & commands:
If set to true certain fearture will be disabled. disable-commands disables both commands and aliases for them!
Default state of hide item (Used in case of not having data about specific player's hidden state)
If you update to new version the plugin will defaultly copy your config, create config.old.yml (with your current data) and generate a new config (config.yml) If set to false the plugin will just work with the config you have and will use default value for new / updated config values
This command reloads configuration values and clears hideitem memory (Items of joined players won't be modified)
Required permission: <hideitem.reload | hideitem.admin | hideitem.*> Usage: /hideitem reload
This command toggles visibility of other players for you.
Required permission: hideitem.toggle (Required only if require-permission-for-commands in config is set to true) Usage: /hideitem toggle
This command shows you all hidden players
Required permission: hideitem.show (Required only if require-permission-for-commands in config is set to true) Usage: /hideitem show
This command hides all players from you
Required permission: hideitem.hide (Required only if require-permission-for-commands in config is set to true) Usage: /hideitem hide
All permissions for hideitem
All administrator permissions
Permission to reload the plugin
If using vanish plugin and player is vanished you can only see him with this permission
Only needed if require-permission-for-<commands | items> is set to true This permission allows you to use /hideitem toggle and using hide item
Only needed if require-permission-for-commands is set to true This permission allows you to use /hideitem hide
Only needed if require-permission-for-commands is set to true This permission allows you to use /hideitem hide