summaryrefslogtreecommitdiff
path: root/src/resources/serverpermissions.inc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-19 20:29:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-19 23:09:35 +0300
commit72dfb51de2bb766d291d2d3134e3f34b679281c7 (patch)
tree07862ac1ef107c4dd774e6844ac6c0550d138e09 /src/resources/serverpermissions.inc
parent105ac47764066fc05093090ac74694715dd89c50 (diff)
downloadmanaplus-72dfb51de2bb766d291d2d3134e3f34b679281c7.tar.gz
manaplus-72dfb51de2bb766d291d2d3134e3f34b679281c7.tar.bz2
manaplus-72dfb51de2bb766d291d2d3134e3f34b679281c7.tar.xz
manaplus-72dfb51de2bb766d291d2d3134e3f34b679281c7.zip
Add support for loading permissions from groups.xml
Diffstat (limited to 'src/resources/serverpermissions.inc')
-rw-r--r--src/resources/serverpermissions.inc54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/resources/serverpermissions.inc b/src/resources/serverpermissions.inc
new file mode 100644
index 000000000..377c3ab98
--- /dev/null
+++ b/src/resources/serverpermissions.inc
@@ -0,0 +1,54 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2017 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#define SERVERPERMISSION_VOID
+
+// Hercules permissions
+serverpermissionFirst(can_trade)
+serverpermission(can_party)
+serverpermission(all_skill)
+serverpermission(all_equipment)
+serverpermission(skill_unconditional)
+serverpermission(join_chat)
+serverpermission(kick_chat)
+serverpermission(hide_session)
+serverpermission(who_display_aid)
+serverpermission(hack_info)
+serverpermission(any_warp)
+serverpermission(view_hpmeter)
+serverpermission(view_equipment)
+serverpermission(use_check)
+serverpermission(use_changemaptype)
+serverpermission(all_commands)
+serverpermission(receive_requests)
+serverpermission(show_bossmobs)
+serverpermission(disable_pvm)
+serverpermission(disable_pvp)
+serverpermission(disable_commands_when_dead)
+serverpermission(hchsys_admin)
+serverpermission(can_trade_bound)
+serverpermission(disable_pickup)
+serverpermission(disable_store)
+serverpermission(disable_exp)
+serverpermission(disable_skill_usage)
+
+// Evol permissions
+serverpermission(send_gm)
+serverpermission(show_client_version)