-
Notifications
You must be signed in to change notification settings - Fork 0
/
guilds.txt
139 lines (114 loc) · 2.48 KB
/
guilds.txt
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
### Commands ###
X /guilds
X /guild info [guild]/[tag]
X /guild create [guild] [tag] (leader)
X /guild invite [player]
X /guild kick [player]
X /guild edit [option] [value]
X name | string
~ tag | string (<= 4 chars)
X /guild leave
X /guild disband (guild)
X /guild motd [num] [string]
X /guild accept
X /guild deny
- /guild reload
X /grank create [rank]
X /grank delete [rank]
X /grank edit [rank] [option] [value]
X colour | enum
X name | string
X invite | boolean
X kick | boolean
X adminchat | boolean
X tp | boolean
X tphere | boolean
X hq | boolean
X /grank set [player] [rank]
- /grank info [rank]
X /grank list
X /g [msg] - Guild chat
X /ga [msg] - 'guild admin' chat for 'admins' in guilds
X /hq set
X /hq
X /gtp - Teleport to guild member
X /gtphere - Teleport guildmember here
X Guild Tags in chat | REQIRES Ess 1.12.8!
### Config ###
noirguilds:
debug: false
database:
type: flatfile/mysql
mysql:
hostname: localhost
port: 3306
username: herp
password: 'derp'
database: foo
prefix: bar_
### Bukkit Perms ###
noirguilds.create # Ability to create guild (under own name)
noirguilds.create.other # Can create guild under another's name
noirguilds.disband.other # Can disband another guild
noirguilds.reload # Reload plugin and config files
### MySQL Database Structure ###
-- guild_guilds --
g_id | SMALLINT PRIMARY
name | VARCHAR(32)
tag | VARCHAR(4)
-- players --
player | VARCHAR PRIMARY
g_id
r_id
-- guild_ranks --
r_id
g_id
name
colour
invite
kick
adminchat
tp
tphere
default
### Flatfile Database Structure ###
TAGG.yml:
name: guildname
tag: TAGG
leader: CoolPlayer
motd:
1: This is line one of the MOTD
2: This is line two of the MOTD
hq:
world: world
x: 256
y: 73
z: -5034
yaw: 0
pitch: 0
members:
thatplayer: rank
thisplayer: otherrank
CoolPlayer: SuperAwesomeLeader
ranks:
arank:
default: true
colour: DARK_RED
nondefaultperm: true
SuperAwesomeLeader:
colour: DARK_RED
leader: true
### TODO ###
Move guild send message to guild/rank classes
Remove populateGuild from FlatfileDatabaseManager
Re-enable renaming guild config files when changing tag
### BUGS ###
### Problem Guilds ###
PowerOverwhelming - Tag has '!'
ლ(ಠ益ಠლ) - Ridiculous characters
Fear - Spaces, hoooow?
### Guild info ###
====== Swagger [SWAG] ======
Leader: ZephireNZ
Members[5]: ZephireNZ, Shad0wofthenight, Blah, Derp, Herp
============================