Requirements: Skript 2.10.0+ and SkBee 3.10.0+
Team [SKRIPT]
Looking for a lightweight, easy-to-configure and simple team system for your Minecraft server? This script allows players to create teams, invite others, manage members through commands or GUI, and even toggle safe PvP with just one command. Whether you're running a minigame server or a survival world with factions this system fits right in!
Features:
- Create and Disband Teams: Simple commands to manage your own team.
- Invite System: Invite and accept/deny with optional click support.
- Safe PvP Toggle: Prevent teammates from damaging each other.
- GUI Interface: View team members, leader status, and team list with an intuitive chest GUI.
- Admin Control: Easily delete or rename teams via /adminteam.
- Permission System: Fully configurable permissions with messages and formatting support.
- Paginated Team List: Scroll through existing teams with previous/next buttons.
- Well-Organized Code: Clean, structured, and commented for easy customization.
Demonstration video
Commands:
Code (Text):
/team - Opens the team GUI
/team - Opens the team GUI
/team help - Displays a list of all team commands
/team create <name> - Create a new team
/team invite <player> - Invite a player to your team
/team accept <player> - Accept a team invite
/team deny <player> - Deny a team invite
/team remove <player> - Remove a player from your team
/team leave - Leave your current team
/team disband - Disband your team (leader only)
/team view <player> - View another player’s team
/team requests - View your pending invites
/team invites - View sent team invites
/team removeInvite <player> - Cancel a sent invite
/team mod <player> - Promote or demote a moderator
/team safepvp - Toggle friendly fire (Safe PvP)
/team name <name> - Rename your team
/team leader <player> - Transfer leadership
/team list - View all teams in a paginated GUI
/team sethome - Set the team’s home (leader only)
/team home - Teleport to the team home
/teammsg <message> - Send a message to your team
/tm <message> - Alias for /teammsg
/tms <message> - Alias for /teammsg
/adminteam delete <player> - Delete a player’s team
/adminteam name <player> <name> - Rename a player’s team
/adminteam resetall - Start wiping all team data
Options
Code (Text):
# PERMISSIONS
# whether or not permission should be required to use team features
permission-required: true
# general permission required to use team commands
permission: team.use
# permission required for admin commands like deleting or renaming teams
permission-admin: team.admin
# message shown when a user lacks the required general permission
permission-message: &cYou do not have permission to do this. &7&o(Missing node 'team.use')
# message shown when a user lacks admin permission
permission-message-admin: &cYou do not have permission to do this. &7&o(Missing node 'team.admin')
# how the no-permission message is displayed
# accepted values: 'actionbar', 'title', 'message' (anything else disables the message)
permission-message-format: actionbar
# LIMITS
# max players allowed in a team (including the leader)
# Do not set above 16 — this will break the team GUI layout.
team-size-limit: 5
# maximum length for team names
max-team-name-length: 12
# FEATURE TOGGLES
# allow players to create teams
enable-team-create: true
# allow inviting players to a team
enable-team-invite: true
# allow accepting team invites
enable-team-accept: true
# allow denying team invites
enable-team-deny: true
# allow removing members from a team
enable-team-remove: true
# allow players to leave their team
enable-team-leave: true
# allow team leaders to disband the team
enable-team-disband: true
# allow promoting another player to leader
enable-team-leader: true
# allow renaming teams
enable-team-rename: true
# allow viewing team info
enable-team-view: true
# allow viewing the list of all teams
enable-team-list: true
# allow viewing pending team invites
enable-team-requests: true
# allow sending messages to team chat
enable-teammsg: true
# allow team leaders to set the team home
enable-team-sethome: true
# allow players to teleport to team home
enable-team-home: true
# whether Safe PvP is enabled by default when joining/creating a team
enable-safe-pvp: true
# allow leaders to assign a moderator
enable-team-mod: true
# MISCELLANEOUS
# whether players should be notified about pending invites when they join
notify-pending-invites: true
# whether players should respawn at team home on death
enable-team-home-respawn: true
# format for /teammsg (placeholders: <team>, <player>, <message>)
team-chat-format: &b[<team>] &6<player>: &f<message>
# regex used to validate team names
# other regex: (^[a-zA-Z0-9]+$ → letters + numbers) or (^[a-zA-Z0-9_]+$ → letters + numbers + underscores)
team-name-regex: ^[a-zA-Z]+$ # → Only letters
# team creation and renaming will be blocked if the name contains any of these.
# list forbidden words like this: "word1", "word2", "word3" or "word4"
forbidden-words: "fword", "cword", "badword" or "anotherbadword"
# whether to show offline leader skulls in the team list GUI
# NOTE: Enabling this may cause a slight delay when opening the team list due to how offline player heads are handled.
show-offline-leader-skull: false
# item shown instead of skull when offline leader skulls are disabled
# options: player head, paper, book, name tag, etc.
offline-player-skull: player head
# KDR STATISTICS
# variable name used to store player kills (example: kills → {kills::%player%})
team-kills-variable: kills
# variable name used to store player deaths (example: deaths → {deaths::%player%})
team-deaths-variable: deaths
# whether to show total team KDR in the team GUI (includes all members and leader)
enable-team-kdr-display: true
# TAG SETTINGS
# enable prefix/suffix tag in tab list
# requires Vault and a permissions plugin like LuckPerms
enable-tag-list: false
# show team name in tab as prefix or suffix
# options: "prefix" or "suffix"
# recommended: leave it on "suffix" — once changed, original ranks/prefixes from other plugins will not return automatically.
tab-name-tag-position: suffix
# format of the team tag (use <team> as placeholder)
# NOTE: If your tab tag isn't showing, try rejoining the server to refresh it
tab-name-tag-format: &8 [&f<team>&8]
License
You are free to share and modify this resource as long as you:
- Give credit to the original creator
- Do not use it for commercial purposes
NOTES
if you experience any problems, let me know on discord eult,
discord server