#Clans(teams) skript

1 messages · Page 1 of 1 (latest)

nocturne rivet
#

I have only a few days left to create a skript for clans. I now basic skript but nothing so advanced. I tried vibe coding it(ikik but Im running out of options). I just need a few simple commands, idk if it's the right thing to ask here, but if anyone can help me with even just a single command I'd be SO GRATEFUL. Feel free to suggest any changes in the skripts, the /createclan or even the ideas. If it's easier don't focus on stuff like messages, I will change them myself.

I have to split this into a few messages because of the message character limit ):

#
options:
    maincolor: "B00B0B"
    textcolor: "ffebb6"
    infocolor: "279FF5" #for example when adding a player this is the color of their ign
    confirmcolor: "27F554"
    prefix_text: "Clans"
    invite_duration: 5 minutes
    max_members: 10
#

/createclan:
permission: clan.admin
creates a clan with luckperms, adds the leader, sets the color and logs it

#

/addmember <player> - runnable by the leader
sends an invite acceptable with /acceptclaninvite or clicking the invite message, on accept it sends a message to the whole clan "[Clans] <player> has joined the clan.", you can only invite players which arent in a clan already

/appointrole <player> <role> - runnable by the leader
roles will be in a list I am yet to finish, rn we can call them role1 - role10
when run it gives the <player> the group.role.<role> permission and marks that the clan has the role already - nobody else can get it - receiving the role is accepted with /acceptrole or clicking

/setclanhome - runnable by the leader
sets the clan home, to which the players can tp with /home - the standard 5 second no move countdown

/tpa and /tphere - both runnable by the leader
the standard thing, with /tpaccept and /tpdeny and the 5 second no move countdown
only the leader can use them and he can only use it with his own clanmates

/cc <message> or /clanchat <message>
sends the message to the whole clan - runnable by everyone

-# less important commands:

-# /showclan <clanname> and /showclans
-# permission: clan.admin
-# showclan just shows the clanname, color, leader, all members with their roles and the clan home
-# showclans lists a list of all clan names with the color and the leader which are clickable and run the showclan

-# /removeclan <clan>
-# removes the clan, deletes all permissions, all roles from the players and variables - clan.admin permission

-# /removemember <clan> <member>
-# removes the player from the clan, deletes their permissions, their role and variables - clan.admin permission

THANK YOU ❤️

oblique moss
#

we don't create scripts here, we help with code you already have. for commissions, go to Minehut or SkUnity forums