SETUP
TESTED VERSIONS
- Transfer the “.sk” extension file in the package you downloaded to the “Skript/scripts” section in the plugin folder on your server.
- Transfer the folder where the “.sk” extension file in the package you downloaded stores the data into the plugin folder.
- Install the required plugins/skript addons on your server.
- Use the command “/reload” to activate the script. Or restart the server.
- /timedvote give <player> [id] - walkie-talkie.nq.admin
- /timedvote reload [module] - walkie-talkie.nq.admin
TESTED VERSIONS
- 1.21, 1.21.4, 1.21.5
Code:
options:
folderPath: plugins/Skript/scripts/nqaaN's Skripts/Walkie-Talkie # Do not change this unless you are an advanced user!
permission_admin: walkie-talkie.nq.admin
# --- Config
chat_format: "&eᴡᴛ&6#[id] &f<&r[display_name]&f> &r" # Placeholders > [id] | [name] | [display_name]
minimum_id_value: 134679
maximum_id_value: 999999
cancel_msg_if_unconnect: true
receive_requires_holding_walkie_talkie: false
# Unconnected Item
unconnected_item_id: "nautilus_shell"
unconnected_item_glowing: false
unconnected_item_name: "&eᴡᴀʟᴋɪᴇ-ᴛᴀʟᴋɪᴇ"
unconnected_item_lore: "&7ᴄᴏɴɴᴇᴄᴛɪᴏɴ: &c✘"
# Connected Item
connected_item_id: "nautilus_shell"
connected_item_glowing: true
# Placeholders > [id]
connected_item_name: "&eᴡᴀʟᴋɪᴇ-ᴛᴀʟᴋɪᴇ"
connected_item_lore: "&7ᴄᴏɴɴᴇᴄᴛɪᴏɴ: &a✔" and " &6• &7ꜰʀᴇǫᴜᴇɴᴄʏ: &6[id]"
enable_tabComplete_module: true
# --- GUI
# Title (Don't use the same titles)
gui_unconnected_title: "[item]" # Placeholders > [item]
gui_connected_title: "[item]&6#[id]" # Placeholders > [item] | [id]
# Connect Icon
gui_connect_item_id: "ender_eye"
gui_connect_item_glowing: false
gui_connect_item_name: "&aᴄᴏɴɴᴇᴄᴛ"
gui_connect_item_lore: ""
# Disconnect Icon
gui_disconnect_item_id: "ender_pearl"
gui_disconnect_item_glowing: false
# Placeholders > [id]
gui_disconnect_item_name: "&cᴅɪsᴄᴏɴɴᴇᴄᴛ"
gui_disconnect_item_lore: ""
# Change Frequency Icon
gui_change_frequency_item_id: "ender_eye"
gui_change_frequency_item_glowing: false
# Placeholders > [id]
gui_change_frequency_item_name: "&eᴄʜᴀɴɢᴇ ꜰʀᴇǫᴜᴇɴᴄʏ"
gui_change_frequency_item_lore: ""
# Current Frequency Icon
gui_current_frequency_item_enable: false
gui_current_frequency_item_id: "iron_bars"
gui_current_frequency_item_glowing: false
# Placeholders > [id]
gui_current_frequency_item_name: "&7ᴄᴜʀʀᴇɴᴛ ꜰʀᴇǫᴜᴇɴᴄʏ"
gui_current_frequency_item_lore: "&6[id]"
# --- Lang
lang_prefix: "" # If the message contains more than one text, it works with the [prefix] placeholder.
lang_no_permission: "&cYou don't have permission to use this command!" # Placeholders > [permission]
lang_this_cmd_doesnt_exist: "&e/wt &6[command]" and " &6• &cThis command doesn't exist!" # Placeholders > [command]
lang_help: "&8&m● • ● • ●&r &6nqaaN's Walkie-Talkie Skript &8&m● • ● • ●&r", "&e/wt give <player> [id]", " &6• &7Give a walkie-talkie.", "&e/wt reload [module]", " &6• &7Reload the skript." and "&8&m● • ● • ●&r &6nqaaN's Walkie-Talkie Skript &8&m● • ● • ●&r"
lang_give_arg2_else: "&e/wt give <player>" and " &6• &7Type a player name."
lang_give_arg2_error: "&e/wt give &6[player]" and " &6• &cPlayer not found." # Placeholders > [player]
lang_give_arg3_error: "&e/wt give [player] &6[id]" and " &6• &cInvalid ID specified.", " &6• &cID must be between &e[minimum] &cand &e[maximum]&c." # Placeholders > [player] | [id] | [minimum] | [maximum]
lang_reload_arg2_error: "&e/wt reload &6[module]" and " &6• &cThis module doesn't exist." # Placeholders > [module]
lang_give_sender: "&aSuccessfully given &eWalkie-Talkie &ato &e[player]&a." # Placeholders > [player]
lang_give_sender_id: "&aSuccessfully given &eWalkie-Talkie&6#[id] &ato &e[player]&a." # Placeholders > [player] | [id]
lang_give_receiver: "" # Placeholders > [sender]
lang_give_receiver_id: "" # Placeholders > [sender] | [id]
lang_chat_not_connected: "&cYour &eWalkie-Talkie &cis not connected to any frequency."
lang_wt_connected: "" # Placeholders > [id]
lang_wt_disconnected: "" # Placeholders > [id]
lang_wt_type_frequency_initial: "&6Enter a channel ID in chat." and "&6• &7Min/Max: &e[minimum]&7/&e[maximum]" # Placeholders > [minimum] | [maximum]
lang_wt_type_frequency_change: "&6Enter a new channel ID in chat." and "&6• &7Min/Max: &e[minimum]&7/&e[maximum]" # Placeholders > [minimum] | [maximum]
lang_wt_invalid_id: "&cID must be between &e[minimum] &cand &e[maximum]&c." # Placeholders > [minimum] | [maximum]
