mcchatspy is now a command based instead of permission node based

This commit is contained in:
nossr50
2019-01-03 01:26:08 -08:00
parent 6136e82ec6
commit 85e1f2eb7e
8 changed files with 79 additions and 12 deletions

View File

@ -468,6 +468,9 @@ Commands.Disabled=[[RED]]This command is disabled.
Commands.DoesNotExist= [[RED]]Player does not exist in the database!
Commands.GodMode.Disabled=[[YELLOW]]mcMMO Godmode Disabled
Commands.GodMode.Enabled=[[YELLOW]]mcMMO Godmode Enabled
Commands.AdminChatSpy.Enabled=[[YELLOW]]mcMMO Party Chat Spy Enabled
Commands.AdminChatSpy.Disabled=[[YELLOW]]mcMMO Party Chat Spy Disabled
Commands.AdminChatSpy.Toggle=[[YELLOW]]mcMMO Party Chat has been toggled for [[YELLOW]]{0}
Commands.GodMode.Forbidden=[mcMMO] God Mode not permitted on this world (See Permissions)
Commands.GodMode.Toggle=God mode has been toggled for [[YELLOW]]{0}
Commands.Healthbars.Changed.HEARTS=[mcMMO] Your healthbar display type was changed to [[RED]]Hearts[[WHITE]].
@ -934,6 +937,7 @@ Commands.Description.hardcore=Modify the mcMMO hardcore percentage or toggle har
Commands.Description.inspect=View detailed mcMMO info on another player
Commands.Description.mcability=Toggle mcMMO abilities being readied on right-click on/off
Commands.Description.mccooldown=View all of the mcMMO ability cooldowns
Commands.Description.mcchatspy=Toggle mcMMO party chat spying on or off
Commands.Description.mcgod=Toggle mcMMO god-mode on/off
Commands.Description.mchud=Change your mcMMO HUD style
Commands.Description.mcmmo=Show a brief description of mcMMO

View File

@ -48,6 +48,9 @@ commands:
description: Show the cooldowns on all your mcMMO abilities
aliases: [mccooldowns]
permission: mcmmo.commands.mccooldown
mcchatspy:
description: Toggle mcMMO Party Chat spying on/off
permission: mcmmo.commands.mcchatspy
mcgod:
description: Toggle mcMMO god-mode on/off
permission: mcmmo.commands.mcgod
@ -690,12 +693,8 @@ permissions:
default: false
description: Implies access to everything in mcMMO
children:
mcmmo.admin.chatspy: false
mcmmo.commands.mcconvert.all: true
mcmmo.commands.xprate.all: true
mcmmo.admin.chatspy:
default: false
description: Allows admins to monitor party chat
mcmmo.bypass.*:
default: false
description: Implies all bypass permissions.
@ -797,6 +796,8 @@ permissions:
mcmmo.commands.kraken.others: true
mcmmo.commands.mcability.others: true
mcmmo.commands.mcconvert.all: true
mcmmo.commands.mcchatspy: true
mcmmo.commands.mcchatspy.others: true
mcmmo.commands.mcgod: true
mcmmo.commands.mcgod.others: true
mcmmo.commands.mcimport: true
@ -900,6 +901,10 @@ permissions:
description: Allows access to the mcgod command
mcmmo.commands.mcgod.others:
description: Allows access to the mcgod command for other players
mcmmo.commands.mcchatspy:
description: Allows access to the mcchatspy command
mcmmo.commands.mcchatspy.others:
description: Allows access to the mcchatspy command for other players
mcmmo.commands.mcmmo.*:
default: false
description: Implies access to all mcmmo.commands.mcmmo permissions