Fixed problem with examine
translatable variables (placeholderapi)
messages.yml updated: (Modify the examine part and add the last thing which is the placeholderapi)
https://github.com/ImShadowDev/RyzenStaff/tree/main/RyzenStaffYml
Fixed translation messages.
Improved the database.
Fixed messages that didn't support YML translations.
Mobs will no longer follow you when you're in staff mode.
Added a Saturation effect when in staff mode.
Enhanced jailbreak system with permission from (ryzenstaff.jail.bypass)
add this to the jail part:"bypass-protection: "&c%player% has jail bypass protection and cannot be jailed.""
Improved cross-server database
Jail System Updated
Add this in the jail part (config.yml)
YAML:# Commands that are executed when a user finishes jail time unjail-commands: - "spawn %player%"
New variables
- %ryzenstaff_jail_time_left% #remaining jail time
- %ryzenstaff_jail_is_jailed% #know if the player is in jail or not
NEWS
- Warn System
YAML:warn: usage: - "&8&m--------------------------------" - "&7- &b/warn <player> <reason> &8- &7Warn a player" - "&7- &b/warn remove <player> <amount> &8- &7Remove warnings" - "&7- &b/warn clear <player> &8- &7Clear all warnings" - "&7- &b/warn check <player> &8- &7Check player warnings" - "&8&m--------------------------------" usage-warn: "&cUsage: /warn <player> <reason>" usage-remove: "&cUsage: /warn remove <player> <amount>" usage-clear: "&cUsage: /warn clear <player>" usage-check: "&cUsage: /warn check <player>" warned: "&aYou have warned &e%player% &afor: &e%reason% &7(Total: %total%)" received: "&cYou have been warned by &e%staff% &cfor: &e%reason% &7(Total: %total%)" staff-notification: "&8[&c&lWARN&8] &e%staff% &7warned &e%player% &7for: &f%reason% &7(Total: %total%)" self-warn: "&cYou cannot warn yourself." removed: "&aRemoved &e%amount% &awarnings from &e%player%&a. Remaining: &e%remaining%" cleared: "&aCleared &e%total% &awarnings from &e%player%&a." no-warns: "&a%player% has no active warnings." check-header: - "&8&m--------------------------------" - "&c&lWarnings for &f%player% &7(%total%)" - "&8&m--------------------------------" check-format: "&c#{id} &7- &f%reason% &7by &e%staff% &7on &f%date%" check-footer: - "&8&m--------------------------------"
YAML:# -------------------------------------- # WARN SYSTEM # -------------------------------------- warn: expire-days: 7 # Days after which warnings expire (0 = never expire) # Notify staff when someone is warned notify-staff: true # Automatic actions based on the number of warnings auto-actions: enabled: true actions: # Format: "warn_numer:command" - "3:kick %player% You have been kicked for receiving 3 warnings" - "5:tempban %player% 1d You have been banned for 1 day for receiving 5 warnings" - "10:ban %player% You have been permanently banned for receiving 10 warnings"
ryzenstaff.warn
ryzenstaff.warn.remove Allows removing warnings from players
ryzenstaff.warn.clear Allows clearing all warnings from players
ryzenstaff.warn.check Allows checking warnings of players
ryzenstaff.warn.notify Receive warning notifications
- JAIL System
YAML:jail: usage: - "&c&m---------------------------------------" - "&cJail Commands:" - "&b/jail <player> <time> [reason] &8- &7Send a player to jail" - "&b/jail check <player> &8- &7Check player's jail status" - "&b/jail list &8- &7Show list of jailed players" - "&b/unjail <player> &8- &7Release a player from jail" - "&b/setjail &8- &7Set jail location" - "&c&m---------------------------------------" usage-jail: "&cUsage: /jail <player> <time> [reason]" usage-check: "&cUsage: /jail check <player>" usage-unjail: "&cUsage: /unjail <player>" jailed: "&aYou have jailed &e%player% &afor &e%time% &aReason: &e%reason%" received: "&cYou have been jailed by &e%staff% &cfor &e%time%\n&cReason: &e%reason%" staff-notification: "&e%staff% &7jailed &e%player% &7for &f%time% &7- &f%reason%" unjailed: "&aYou have released &e%player% &afrom jail" released: "&aYou have been released from jail by &e%staff%&a" unjail-notification: "&e%staff% &7released &e%player% &7from jail" time-expired: "&aYour jail time has expired. You have been released." already-jailed: "&c%player% is already in jail" not-jailed: "&c%player% is not in jail" location-not-set: "&cJail location is not set. Use /setjail first." location-set: "&aJail location has been set at: &e%world% %x%, %y%, %z%" cannot-leave: "&cYou cannot leave the jail area while imprisoned" cannot-teleport: "&cYou cannot teleport while in jail" command-blocked: "&cYou cannot use commands while in jail" join-message: "&cYou are still in jail. Time remaining: &e%time_left%" # Jail info info: - "&c&m---------------------------------------" - "&cJail Information:" - "&7- Player: &e%player%" - "&7- Staff: &e%staff%" - "&7- Reason: &e%reason%" - "&7- Start: &e%start_time%" - "&7- End: &e%end_time%" - "&7- Time remaining: &e%time_left%" - "&c&m---------------------------------------" # Jailed list no-jailed-players: "&aThere are no players in jail" list-header: - "&c&m---------------------------------------" - "&cJailed players: &e%count%" list-format: "&7- &e%player% &7(&f%time_left%&7) - &f%reason%" # Allowed commands in jail allowed-commands: - "/msg" - "/r" - "/tell" - "/helpop" - "/report"
YAML:# -------------------------------------- # JAIL SYSTEM # -------------------------------------- jail: enabled: true notify-staff: true log-blocked-commands: false # Maximum distance a player can move from jail point (in blocks) max-distance: 5.0 # Jail duration limits (in minutes) min-duration: 5 max-duration: 10080 # 7 days # Sound effects for jail/unjail sound: enabled: true jail-sound: ENTITY_VILLAGER_NO unjail-sound: ENTITY_PLAYER_LEVELUP volume: 1.0 pitch: 1.0 # Particle effects particles: enabled: false type: SMOKE_NORMAL amount: 20 interval: 20 # ticks # Potion effects in jail effects: - effect: SLOW amplifier: 0 ambient: true - effect: WEAKNESS amplifier: 0 ambient: true # Restriction options restrictions: block-commands: true block-chat: false block-movement: false block-combat: true block-building: true block-items: true
ryzenstaff.jail
ryzenstaff.jail.check Allows checking jailed players status
ryzenstaff.jail.list Allows viewing the list of jailed players
ryzenstaff.unjail Allows releasing players from jail
ryzenstaff.setjail Allows setting the jail location
ryzenstaff.jail.notify Receive jail action notifications
ryzenstaff.jail.bypass Allows bypassing being jailed
- Revive system has been completely modified
Delete the current one and place this one in your messages.ymlYAML:revive: # Message sent to player when revived revived: "&7You have just been revived by the staff &b%staff%&7." # Message sent to staff member who performed the revive revive-success: "&7You have successfully revived &b%player%&7." # Message when no death records found no-death-records: "&7No death records found for &c%player%&7." # Message when revive system is disabled system-disabled: "&7The revive system is currently disabled." # Message when target player is not online for GUI target-offline: "&7The target player is not online and cannot be revived." # Message when data is corrupted or expired data-corrupted: "&7Failed to revive the player. The data may be corrupted or expired."
YAML:revive: # Enable or disable the revive system enabled: true # Maximum number of death records to keep per player # Set to 0 for unlimited (not recommended) max-records-per-player: 5 # Minutes after which death records expire and are automatically deleted # Set to 0 to disable expiration expire-after-minutes: 30 gui: title: "&8Revive Menu" # Number of rows in the GUI (3-6) rows: 4 messages: # Message sent to the player when they are revived revived: "&aYou have been revived by %staff%" # Message sent to staff when they successfully revive a player revive-success: "&aYou have revived %player%" # Message when no death records are found for a player no-death-records: "&cNo death records found for %player%"
New item: Teleport-GUI
YAML:teleport: success: "&aYou have teleported to %player%." player-not-found: "&cPlayer %player% is not online." player-offline: "&cPlayer %player% is no longer online." target-notified: "&e%staff% has teleported to you." error: "&cAn error occurred while teleporting."
Add this after examine-item
YAML:# -------------------------------------- # Teleport Item # -------------------------------------- teleport-item: enabled: false material: ENDER_PEARL name: "&d&lTeleport Menu" lore: - "" - "&7Click to open the teleport menu" - "&7and teleport to any online player" - "" slot: 8 # -------------------------------------- # Teleport GUI Configuration # -------------------------------------- teleport-gui: title: "&8Teleport Menu" exclude-self: false notify-target: false max-players-per-page: 45 # Maximum number of players per page (recommended: 45 to leave room for navigation) player-head: name: "&e%player%" lore: - "&7World: &f%world%" - "&7Gamemode: &f%gamemode%" - "&7Health: &f%health%" - "&7Food: &f%food%" - "" - "&eClick to teleport!" navigation: previous: material: "ARROW" data: 0 # For pre-1.13 versions name: "&e← Previous Page" lore: - "&7Click to go to the" - "&7previous page" next: material: "ARROW" data: 0 # For pre-1.13 versions name: "&eNext Page →" lore: - "&7Click to go to the" - "&7next page" page-info: material: "PAPER" data: 0 # For pre-1.13 versions name: "&ePage %current%/%total%" lore: - "&7You are viewing page" - "&7%current% of %total% pages" filler: enabled: false material: "STAINED_GLASS_PANE" data: 7 # Gray glass pane for pre-1.13 versions name: " "
- The code has been further optimized
- Fixed helmet issue when freezing someone
- AdminChat/StaffChat system running on MySQL
- Improved Chat Filter System
YAML:server-name: "Lobby" # Database Configuration (MySQL) # Set 'enabled' to false to use local storage database: enabled: false host: localhost port: 3306 database: minecraft username: root password: password table-prefix: ryzen_
YAML:staff-chat: prefix: "&8[&bSC&8]" format: "%prefix% &3%player%&8: &b%message%" cross-server-format: "%prefix% &3%player% &8(&6%server%&8)&8: &b%message%" permission: "ryzenstaff.staffchat" command: "staffchat" aliases: - "sc"
YAML:admin-chat: prefix: "&8[&cAC&8]" format: "%prefix% &4%player%&8: &c%message%" cross-server-format: "%prefix% &4%player% &8(&6%server%&8)&8: &c%message%" permission: "ryzenstaff.adminchat" command: "adminchat" aliases: - "ac"
Notice: Delete your data.yaml and let a new one be generated
A staff-only chat system has been added when frozen (only staff will receive messages)
Fixed chat filter not showing the message that was filtered by the message
The revive has been fixed, which no longer worked when viewing it and closing the menu
new command /ryzenstaff reach <player> (perms: ryzenstaff.reach)
new command /ryzenstaff cps <player> (perms: ryzenstaff.cps)
YAML:freeze-actionbar: target: "&7¡You have been frozen! Time:&b %time%" staff: "&c%player% has been frozen. Time:&b %time%" chat-with-staff: "&8[&3&lFREEZE&8] &b%player% &8» &f%message%" freeze-settings: allow-chat: true helmet-ice: true chat-with-staff: false
YAML:freeze-chat-notification: "&8[&3&lFREEZE&8] &7You can now chat with staff. Your messages will only be visible to staff members." freeze-staff-chat-notification: "&8[&3&lFREEZE&8] &b%player% &fcan now chat with staff. You will receive their messages." freeze-chat-deactivated: "&8[&3&lFREEZE&8] &7Staff chat has been deactivated. You can now chat normally."
