-
Notifications
You must be signed in to change notification settings - Fork 9
Integrations
playersettings_<setting>_nameGets the display name of a setting
playersettings_<setting>_name_plainGets the plain name of a setting
playersettings_in_allowed_worldGets whether the player that requested the placeholder is in a world where the plugin is enabled
playersettings_<setting>_toggleRetrieves the toggle/opposite value of a setting requested by the player
playersettings_<setting>_toggle_formattedRetrieves the alias for the toggle/opposite value of a setting requested by the player
playersettings_<setting>_valueRetrieves the value of a setting requested by the player
playersettings_<setting>_value_formattedRetrieves the alias for the value of a setting requested by the player
A commonly requested feature is to add an interactive item that can change a setting. Thanks to the ItemJoin plugin, you can now do that and much more!
items.yml
Here's a simple configuration of how to create an interactive item for the visibility setting
items:
visibility:
id: "ENDER_EYE"
slot: 8
name: '<delay:2>&6&lVisibility &7- &f%playersettings_visibility-setting_value_formatted%'
lore:
- '<delay:2>'
- '&6Right click &7to toggle &f%playersettings_visibility-setting_toggle_formatted%'
commands-sequence: SEQUENTIAL
interact-right:
- 'settings set visibility-setting %playersettings_visibility-setting_toggle%'
itemflags: inventory-modify, death-drops, self-drops, animate, cancel-events
triggers: dynamic, join, respawn, world-change
enabled-worlds: worldIf you need more help configuring your item, please refer to the ItemJoin wiki
Getting Started
Developers