summaryrefslogtreecommitdiff
path: root/world/map/conf
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-04-12 16:37:08 -0400
committermekolat <mekolat@users.noreply.github.com>2016-04-12 19:21:46 -0400
commitdc9c6ac482b353fe9a4b1e1628f691c487a517fc (patch)
tree655b6616766410e8880e8395298811beba8c742a /world/map/conf
parentd55ee9ec4a43cbc7d52619b6a473a4760bb9acdb (diff)
downloadserverdata-dc9c6ac482b353fe9a4b1e1628f691c487a517fc.tar.gz
serverdata-dc9c6ac482b353fe9a4b1e1628f691c487a517fc.tar.bz2
serverdata-dc9c6ac482b353fe9a4b1e1628f691c487a517fc.tar.xz
serverdata-dc9c6ac482b353fe9a4b1e1628f691c487a517fc.zip
add default permissions
Diffstat (limited to 'world/map/conf')
-rw-r--r--world/map/conf/.gitignore1
-rw-r--r--world/map/conf/permissions.txt20
-rw-r--r--world/map/conf/permissions_local.txt.example10
-rw-r--r--world/map/conf/tmwa-map.conf2
4 files changed, 33 insertions, 0 deletions
diff --git a/world/map/conf/.gitignore b/world/map/conf/.gitignore
index 2c43e911..a1c73f43 100644
--- a/world/map/conf/.gitignore
+++ b/world/map/conf/.gitignore
@@ -1 +1,2 @@
/*_local.conf
+/*_local.txt
diff --git a/world/map/conf/permissions.txt b/world/map/conf/permissions.txt
new file mode 100644
index 00000000..7da7006c
--- /dev/null
+++ b/world/map/conf/permissions.txt
@@ -0,0 +1,20 @@
+// command permissions below
+CMD_ZENY 80
+CMD_CHARZENY 99
+CMD_DEBUG 80
+CMD_CHANGESEX 40
+CMD_CHARCHANGESEX 60
+CMD_CLASS 40
+CMD_CHARCLASS 50
+CMD_DESTROYNPC 99
+
+// special permissions below
+MAP_LOUNGE 20 // level to enter the GM Lounge & talk to Numa
+EVT_KILLTHEGM 50 // this is both for the event and the magic gm top hat
+DBG_HOLIDAY 40 // holiday debug (xmas, halloween, ...)
+EVT_DEBUG 50 // event debug (open portals, disguise, ...)
+DBG_SCHEDULED 40 // scheduled broadcasts (schedule broadcast, stop broadcast, trigger broadcast, ...)
+DBG_MOTD 40 // motd debug (show/hide motd)
+
+// very specific debug menus
+DBG_VALIA 40 // illia quest debug info
diff --git a/world/map/conf/permissions_local.txt.example b/world/map/conf/permissions_local.txt.example
new file mode 100644
index 00000000..422da753
--- /dev/null
+++ b/world/map/conf/permissions_local.txt.example
@@ -0,0 +1,10 @@
+// in this file you can overwrite anything from permissions.txt
+
+
+// Template for test server:
+//CMD_ZENY 0
+//CMD_DEBUG 0
+//CMD_CHANGESEX 0
+//CMD_CLASS 0
+//MAP_LOUNGE 0
+//DBG_VALIA 0
diff --git a/world/map/conf/tmwa-map.conf b/world/map/conf/tmwa-map.conf
index fa28abe5..53926ffb 100644
--- a/world/map/conf/tmwa-map.conf
+++ b/world/map/conf/tmwa-map.conf
@@ -15,6 +15,8 @@ const_db: db/const-magic.txt
const_db: db/const-quest.txt
const_db: db/const-mapflags.txt
const_db: db/const-debugflag.txt
+const_db: conf/permissions.txt
+const_db: conf/permissions_local.txt
quest_db: db/quest-log.txt