Hey,
I was wondering if it is possible to create my own permissionsystem in skript.
But i dont want to write 'if {perms::%uuid of player%::*} contains <text>'. So I thought of a local effect
I began like:
local effect if %player% (has|have) permission %text%:
set {_p} to expression-1
set {_perm} to expression-2
set {_uuid} to {_p}'s uuid
if {perms::%{_uuid}%::*} contains {_perm}:
return true
else:
return false
But it didnt work. Is this possible? Can any1 help me pls?
Greetings from Germany
I was wondering if it is possible to create my own permissionsystem in skript.
But i dont want to write 'if {perms::%uuid of player%::*} contains <text>'. So I thought of a local effect
I began like:
local effect if %player% (has|have) permission %text%:
set {_p} to expression-1
set {_perm} to expression-2
set {_uuid} to {_p}'s uuid
if {perms::%{_uuid}%::*} contains {_perm}:
return true
else:
return false
But it didnt work. Is this possible? Can any1 help me pls?
Greetings from Germany