AGE AND GENDER ⭐ THE FINAL SKRIPT FOR ROLEPLAY SERVERS ⭐ [TITLES, NOSPAM, CHAT FORMAT, MASKS & MORE]

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

frafol

Member
Jun 7, 2021
0
1
2
Italy
lKsDQ7Q.png


This is a skript to set your personal RolePlay information.
You can change the chat format and chat distance.​
Age and gender!​
It's simple and fully customizable!
It has an AntiSpam system and it is enabled by default but can be easily disabled!
Support titles and it can block /me and /minecraft:me commands!

COMMANDS
/age (/anni) [Age Number]
/gender (/genere, /sesso) [Male / Female / Customizable]
/ageandgenderreload (Reload the Skript)
/info [player name]
The permission for admin is ageandgender.admin but it is configurable.​

YuUC3C2.png

Code:
options:
  Setup: &a&lAGE&f&lAND&c&lGENDER&f: &7Enter an age with &a/age &7and a gender with &a/gender&7!
# Don't touch the version.
  version: v0.0.3-STABLE
  update-alerts: true
# Titles options.
  Using-Titles: false
  Titles-Duration: 5 seconds
  Age-Title: &a&lAGE
  Age-Subtitle: &7You have successfully chosen the age &a%arg-1%&7!
  Gender-Title: &c&lGENDER
  Gender-Subtitle: &7You have set your gender in &a%arg-1%&7!
# Gender options.
  Gender-Usage: &c&lGENDER&f: &7Use &a/gender Male&7/&aFemale&7!
  Gender-Success: &c&lGENDER&f: &7You have set your gender in &a%arg-1%&7!
  Cancel-Gender-Message: &c&lGENDER&f: &cThis is not a valid gender! &7(Male / Female)
# Age options.
  Age-Usage: &a&lAGE&f: &7Use &a/age &7(5-80)&7!
  Age-Success: &a&lAGE&f: &7You have successfully chosen the age &a%arg-1%&7!
  Cancel-Age-Message: &a&lAGE&f: &cThe age must be 5-80 years!
  min-age: 5
  max-age: 80
# Info options.
  InfoMessage-1: &eName: &f%arg-1%
  InfoMessage-2: &bAge: %{age::%player%}%
  InfoMessage-3: &5Gender: %{gender::%player%}%
# Chat options.
  chat-format: %{gender::%player%}% &7[&a%{age::%player%}%&7] %display name of player% &8&l» &f%message%
  chat-distance: 10 # The chat distance (in blocks).
  Use-AntiSpam: true
  AntiSpam-Cooldown: 1 second
  AntiSpam-Message: &cYou don't have the permission to spam in the chat.
  Prevent-/me-Command: true
# Info and admin options.
  AdminPermission: ageandgender.admin
  NoPermission: &a&lAGE&f&lAND&c&lGENDER&f: &cYou don't have the permission to do this.
  Cancel-Info-Message: &b&lINFO&f: &cUse &e/info &7(player)
# Mask options.
  Mask-Name: &6Mask
  MaskReceived: &aA mask was added in your inventory!
  chat-format-mask: &7&lANONYMOUS &8&l» &f%message%
Ftab06h.png

All dependencies can be found in the ZIP file.

Sorry for my bad English... I'm from Italy.:emoji_slight_smile: