mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
17 lines
498 B
Python
17 lines
498 B
Python
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
permissionType = 'Undetermined'
|
|
commandArgs = commandString.split(' ')
|
|
if len(commandArgs) > 3:
|
|
permissionType = commandArgs[2]
|
|
if permissionType=='ENTRY' | permissionType=='BAN':
|
|
core.housingService.handlePermissionListModify(actor, target, commandString)
|
|
if permissionType=='ADMIN' | permissionType=='HOPPER':
|
|
core.harvesterService.handlePermissionListModify(actor, target, commandString)
|
|
return
|
|
|
|
|