Implementing atcommand_disable_npc config (#4043)

This commit is contained in:
Sader Fawall
2019-03-29 09:32:07 +02:00
committed by Lemongrass3110
parent ed37a53360
commit c2abd6d1fe
6 changed files with 11 additions and 3 deletions

View File

@@ -34,3 +34,9 @@ atcommand_mobinfo_type: 1
// This option is for @baselevelup and @joblevelup
// Default: no
atcommand_levelup_events: no
// Disable atcommands while a player is attached to a npc? (Note 1)
// This can be changed by script commands 'enable_command' and 'disable_command'.
// Anyone with the 'command_enable' permission in the 'conf/group.conf' can bypass this.
// Default: yes
atcommand_disable_npc: yes

View File

@@ -93,7 +93,6 @@ groups: (
trade or party */
can_trade: true
can_party: true
command_enable: true
attendance: true
}
},
@@ -284,6 +283,7 @@ groups: (
permissions: {
can_trade: true
can_party: true
command_enable: true
all_skill: false
all_equipment: false
skill_unconditional: false