-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
202 lines (168 loc) · 5.86 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
########## RoboticStaff configuration ##########
# Plugin made by RaynLegends
# Bukkitdev page: http://dev.bukkit.org/bukkit-plugins/roboticstaff/
# Github: https://github.com/RaynLegends/RoboticStaff/
### If you find a bug, please let me know :D ###
### RoboticStaff configuration ###
config-version: '2.1' # Don't edit this!
update-checker: 'true' # Change to "false" if you don't want to check updates
## General command ##
# You can set the RoboticStaff prefix here!
# To disable the join message, simply leave it blank. - ""
roboticstaff-prefix: "&6[RoboticStaff]&e "
roboticstaff-join: "This server use RoboticStaff!"
## Helpme ##
# Players can access to the faqs using /helpme
# Make a list of asks and answers about your server,
# that users can read easily using /helpme [id of the question].
# Using /helpme will print a list of the asks with the relative ID.
helpme-enabled: true
helpme-help: "Need help? Type '/helpme [id]'!"
helpme-disabled-message: "&rUnknown command. Type \"/help\" for help." # The \ is used to escape quotes " (\"). It will print only the quote :)
helpme-asks:
- "What is that plugin?"
- "Can I translate the plugin?"
- "What are the future features?"
- "Why &2this &4is colored???"
helpme-answers:
- "Is a simple plugin which will be able in the future to replace partly your staff"
- "Yes, you can! ALL the messages is configurable in config.yml!"
- "Check the TODO list of BukkitDev page for a list of the future feature!"
- "Cause you can format also helpme now!!! &l&k111 &1W&2O&3A&4&5H&6 &l&k111"
helpme-error: "Error:"
helpme-error-1: "Invalid ask id!"
helpme-error-2: "Id must be a number!"
helpme-error-3: "Right use: '/helpme [id]'"
## AntiCaps ##
# The anticaps will simply lowercase all the message if
# there are more than (anticaps-percentage)% uppercase characters if
# the message is longer than (anticaps-minimum) characters
anticaps-enabled: true
anticaps-percentage: 60.0
anticaps-minimum: 4
## AutoAnswer ##
# Autoanswer will check if the message of the players contains the words configured below.
#
# Do not use commas if you want to find only identical phrases.
# Example:
# # - "This server is amazing"
# Will catch:
# # "this server is amazing"
# # Or any message that contains it.
#
# Use commas to separate words that will be checked.
# Example:
# # - "This, creeper"
# Will catch:
# # "this is a creeper"
# # "this creeper is scary!"
# # And many other phrases
#
# Use %or% to make multiple tags
# Example:
# # - "This, message %or% that, message"
# Will catch:
# # "this pretty lovely message"
# # "that isn't a readable message"
# # And many other phrases
#
# In the answers, %player% will be always replaced with the name of the player
# Add / in front of the answer to execute a console command
# Add @noprefix in front of the answer to remove [RoboticStaff] and the prefix-colors
# Add @broadcast in front of the answer to broadcast the answer to all your players
# Add @delete in any part of the answer to delete the message of the user
autoanswer-enabled: true
autoanswer-tags:
- "RoboticStaff"
- "I, need, help"
- "Can, I, become, an, admin %or% I, would, like, to, become, admin"
- "Ban, me, please"
- "Hi raynlegends %or% Hey raynlegends %or% Good morning raynlegends"
- "How, can, I, configure, this, plugin"
- "This message will be broadcasted and it's to show you that you can also not use commas!"
- "My, password, is"
autoanswer-tag-answers:
- "Its the name of this plugin, %player%"
- "Type /helpme!"
- "Sorry, you cant"
- "/kick %player%"
- "@noprefix &4[Founder] &4Rayn&8Legends&r: Hi %player% :)"
- "Visit the BukkitDev page! &4http://dev.bukkit.org/bukkit-mods/RoboticStaff"
- "@broadcast This message will be broadcasted and it's to show you that you can also not use commas!"
- "Don't write your minecraft password! @delete"
## AntiSwearing ##
# Antiswearing will replace blocked words to the antiswearing-beep.
# Just make a list of it.
antiswearing-enabled: true
antiswearing-words:
- "Fuck"
- "Shit"
- "Bitch"
antiswearing-beep: "&c[BIP]&r"
## BlockedCommands ##
# Block commands. Remember that world are case sensitive!
blockedcommands-enabled: true
blockedcommands-message: "&4This command is blocked in this world"
blockedcommands-general:
- q
- logout
- plugins
blockedcommands-perworld:
world:
- pl
world_nether:
- pl
world_the_end:
- pl
## AntiSpam ##
# The antispam delay-between-messages is in seconds.
# The antispam-ipspam will replace only the ip.
# Example:
# # "Hey, come at my server: 127.0.0.1" -> "Hey, come at my server: ----"
# The antispam-websitespam will replace the whole phrase, cause it's difficult
# to keep it so accurate without replacing all the message...
# Example:
# # "Hey, visit my website: minecraft.net" -> "I spammed a website... :/"
antispam-delay:
enabled: true
message: "You have to wait %time% to send a message"
delay-between-messages: 3
antispam-ipspam:
enabled: true
replace-with: "----"
command-on-ipspam: "/kick %player% Dont spam ip!"
antispam-websitespam:
enabled: true
replace-with: "I spammed a website... :/"
command-on-websitespam: "/kick %player% Dont spam website!"
## OnActions ##
# Use this with your creativity!
# I really don't know why I added this
playerjoin:
enabled: true
commands:
- "/gamemode 0 %player%"
playerdeath:
enabled: false
commands:
- "/tell %player% You died."
playerquit:
enabled: false
commands:
- "/scoreboard players remove %player% MyScoreboard"
playerkick:
enabled: false
commands:
- "/scoreboard players remove %player% MyScoreboard"
playerchangedworld:
enabled: false
commands:
- "/msg @console The player %player% has left the world!"
playerlevelchange:
enabled: false
commands:
- "/eco give %player% 10"
playergamemodechange:
enabled: false
commands:
- "/msg @console Hey! %player% has just changed his gamemode!!!"