View difference between Paste ID: ffy5hG40 and wQHRzxYp
SHOW: | | - or go back to the newest paste.
1
#ExelV Custom FactionsX skript
2
 
3
Command /help:
4
    trigger:
5
        send "&7---[&cFactions&4X&7]---"
6
        send "&fWelcome to our help menu!"
7-
        send "&fYou can start by typing "/f" to create a faction"
7+
        send "&fYou can start by typing /f to create a faction"
8
        send "&fFor more information or more questions?"
9-
        send "&cAsk an staffmember"
9+
        send "&cAsk an staff member"
10-
		send "&7---[&cFactions&4X&7]---"
10+
11
		
12
command /rules:
13
	trigger:
14
		send "&b1.&8Saying Racist/homophobic stuff is not allowed."
15
		send "&b2.&8Cursing at someone to hurt the. You are allowed to curse mildly"
16
		send "&b3.&8You are not allowed to cheat/hack on this server."
17
		send "&b4. &8You can't be abusive towards staff members."
18
		send "&b5. &8Using terms such as, Kill Yourself is not permitted."
19
		send "&b6. &8Do NOT offend any Feminists."
20
		send "&b7. &8Don't advertise other websites/servers."
21
		send "&b8.&8 Don't abuse permissions."
22
		send "&b9. &8Don't chargeback on the buycraft. This will result in a ban."
23
		send "&b10.&8 Don't staff hunt on the server."
24
		send "&b11. &8Don't threat to DDoS."
25
		send "&b12. &8Don't use terms such as I'm going to find you ect."
26-
		send "13. Don't glitch items out of the menus."
26+
		send "&b13. Don't glitch items out of the menus."
27-
		send "&b14. &8Don't hackusate people in public chat. You can report rule breakers ingame with /helpop [Message] or on the discord server in #report"
27+
		send "&b14. &8Don't hackusate people in public chat. You can report rule breakers ingame with /helpop [Message] or on the discord server in report"
28
		send "&b15. &8Don't scream or make loud noises on the discord."
29
		send "&b16. &8Don't scam people out of real money. In game scamming is allowed"
30
		send "&b17. &8Don't bypass the filter in the chat."
31
		send "&b18. &8Do not encourage or trick people into leaving the server to open up slots."
32
 
33
	
34
35
command /report [<offline player>] [<text>]:
36
	trigger:
37
		if argument 1 is not set:
38
			send "&c/report <player> <hacks,spam,..>"
39
		if argument 2 is not "Hacking" or "Spam" or "Cheating":
40-
			send "&cYou can report someone with : "Hacking" or "Spam" or "Cheating" !"
40+
			send "&cYou can report someone with : Hacking or Spam or Cheating !"
41
			send "&cOther options are coming soon!"
42
		if argument 1 is "Hacking":
43
			send "&cThanks! Your report has been sended to all staff!"
44
			loop all players:
45
				loop-player has the permission "report.see":
46
					message "&9[REPORT] %sender% reported %arg 1% for Hacking"
47
		if argument 1 is "Spam":
48
			send "&cThanks! Your report has been sended to all staff!"
49
			loop all players:
50
				loop-player has the permission "report.see":
51
					message "&9[REPORT] %sender% reported %arg 1% for Spamming"
52
		if argument 1 is "Cheating":
53
			send "&cThanks! Your report has been sended to all staff!"
54
			loop all players:
55
				loop-player has the permission "report.see":
56
					message "&9[REPORT] %sender% reported %arg 1% for Cheating"			
57
command /re-start:
58
	permission: server.restart
59
	permission message: &cYou are not allowed to do that!
60
	trigger:
61
		execute console command "save-all"
62
		broadcast "&9The server is restarting in &a60 &9Seconds!"
63
		wait 30 seconds
64
		broadcast "&9The server is restarting in &a30 &9Seconds!"
65
		wait 15 seconds
66
		broadcast "&9The server is restarting in &615 &9Seconds!"
67
		wait 5 seconds
68
		broadcast "&9The server is restarting in &c10 &9Seconds!"
69
		wait 5 seconds
70
		broadcast "&9The server is restarting in &45 &9Seconds!"
71
		wait 1 seconds
72
		broadcast "&9The server is restarting in &44 &9Seconds!"
73
		wait 1 seconds
74
		broadcast "&9The server is restarting in &43 &9Seconds!"
75
		wait 1 seconds
76
		broadcast "&9The server is restarting in &42 &9Seconds!"
77
		wait 1 seconds
78
		broadcast "&9The server is restarting in &41 &9Seconds!"
79
		wait 1 seconds
80-
		broadcast "&9Server is shutting down: &a-&7--- | &a25%"
80+
		broadcast "&9Server is shutting down: &a-&7--- | &a25 Percent"
81
		wait 2 seconds
82-
		broadcast "&9Server is shutting down: &a---&7- | &a75%"
82+
		broadcast "&9Server is shutting down: &a---&7- | &a75 Percent"
83
		wait 1 second
84-
		broadcast "&9Server is shutting down: &a---- | &a100%"
84+
		broadcast "&9Server is shutting down: &a---- | &a100 Percent"
85
		wait 1 second
86
		execute console command "kickall Server shutted down! See you soon!"
87
		execute console command "stop"
88
		
89
command /chatmute <text>:
90
    permission: chat.mute
91
    permission message: &fYou aren not allowed to use that command!
92
    trigger:
93
        if argument 1 is "on":
94
            if {globalmute} is not set:
95-
                broadcast "&a[&2SkyBiomes&a] &cOur chat is now global muted!"
95+
                broadcast "&7[&cFactions&4X&7] &cOur chat is now global muted!"
96
                set {globalmute} to true
97
            if {globalmute} is false:
98-
                broadcast "&a[&2SkyBiomes&a] &cOur chat is now global muted!"
98+
                broadcast "&7[&cFactions&4X&7] &cOur chat is now global muted!"
99
                set {globalmute} to true
100
            if {globalmute} is true:
101
                send "&cGlobalChat is already muted type /chatmute off to disable!"
102
        if argument 1 is "off":
103
            if {globalmute} is true:
104-
                broadcast "&a[&2Skybiomes&a] &aThe global chat is now unmuted! Enjoy talking :D"       
104+
                broadcast "&7[&cFactions&4X&7] &aThe global chat is now unmuted! Enjoy talking :D"       
105
                set {globalmute} to false
106
            if {globalmute} is false:
107
                send "&cChat is not muted!"
108
            if {globalmute} is not set:
109
                send "&cChat is not muted!"
110
on chat:
111
    if {globalmute} is true:
112
        if player has permission "chat.talk":
113
            cancel event
114
            broadcast "&9&lSTAFF &f%name of player% > %message%"
115
        else:
116
            cancel event
117
            send "&cOur chat is currently muted | Muted type: Global"
118
119
120
121
122
123
command /cc:
124
	permission: chat.clear
125
	permission message: &cYou are not allowed to do that!
126
	trigger:
127
		broadcast "&f "
128
		broadcast "&f "
129
		broadcast "&f "
130
		broadcast "&f "
131
		broadcast "&f "
132
		broadcast "&f "
133
		broadcast "&f "
134
		broadcast "&f "
135
		broadcast "&f "
136
		broadcast "&f "
137
		broadcast "&f "
138
		broadcast "&f "
139
		broadcast "&f "
140
		broadcast "&f "
141
		broadcast "&f "
142
		broadcast "&f "
143
		broadcast "&f "
144
		broadcast "&f "
145
		broadcast "&f "
146
		broadcast "&f "
147
		broadcast "&f "
148
		broadcast "&f "
149
		broadcast "&f "
150
		broadcast "&f "
151
		broadcast "&f "
152
		broadcast "&f "
153
		broadcast "&f "
154
		broadcast "&f "
155
		broadcast "&f "
156
		broadcast "&f "
157
		broadcast "&f "
158
		broadcast "&f "
159
		broadcast "&f "
160
		broadcast "&f "
161
		broadcast "&f "
162
		broadcast "&b%sender% just cleared the chat!"
163
		
164
Command /warn <player> <text>:
165
    permission: player.warn
166
    permission message: &cYou are not an staff member!
167
    trigger:
168
        loop all players:
169
            loop-player has the permission "warn.see":
170-
				message "&f[&c&lWARN] %arg 1% got warned by %sender%" to loop-player
170+
                message "&f[&c&lWARN] %arg 1% got warned by %sender%" to loop-player
171
                message "&f[&c&lWARN] Reason: %arg 1% | User recieve the warning message!" to loop-player
172
        message "&f[&c&lWARN&f] &cYou got warned by %sender%" to arg 1
173
        message "&f[&c&lWARN&f] &cReason: &6%arg 2%" to arg 1