Update UsingOtherPlugins.md
This commit is contained in:
parent
1f670fdcc0
commit
5a2ac5a592
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ The following question gets asked a lot so I'm going to try to answer it here:
|
||||||
|
|
||||||
The above question refers to using ScriptCraft for CraftBukkit so I'll answer that first:
|
The above question refers to using ScriptCraft for CraftBukkit so I'll answer that first:
|
||||||
|
|
||||||
You can get the permissionsEx (or any other plugin) like this...
|
You can get the permissionsEx (or any other Bukkit plugin) like this...
|
||||||
```javascript
|
```javascript
|
||||||
var pex = server.pluginManager.getPlugin('PermissionsEx');
|
var pex = server.pluginManager.getPlugin('PermissionsEx');
|
||||||
if (pex.getUser(player).inGroup('moderator') ) {
|
if (pex.getUser(player).inGroup('moderator') ) {
|
||||||
|
|
Reference in a new issue