Closed Bl4ck5tar836 closed 13 years ago
[CODE]# Defines the "default" profile # All players have this profile by default default: Spells: commands: spells: true cast: - blink - torch # Defines a "wizard" profile wizard: Spells: cast: - heal - blink - torch - fireball - pillar - absorb - fill - cushion - undo - alter - blast - mine - tree - arrow - frost - gills - familiar - blob - superblob - paint - recurse - transmute - recall - disintegrate - manifest - peek - fire - window - lava - portal - phase - invincible - fire - tunnel - bridge # Defines the "admin" profile # These players can use "/su" to access any command # They can also cast spells on the command line admin: Persistence: commands: su: true Spells: commands: cast: true[/CODE]
is this how the "/plugins/persistence/permissions.yml" supposed to work?
I still cant cast spells...
also my plugins folder only has
/plugins/
spells.jar
persistence.jar
/plugins/persistence/
global.db
permissions.yml
is this right? or do i need the file
permissionsSupport.jar
[also i got an error:
[CODE]>spells
17:32:23 [INFO] Peristence: Can't find callback 'onSpells' for plugin Spells
17:32:23 [INFO] spells [category]
17:35:21 [INFO] 143 recipesategory]
17:35:21 [INFO] BlackStar836 [/127.0.0.1:2251] logged in with entity id 153
17:35:21 [SEVERE] Could not pass event PLAYER_JOIN to Persistence
java.lang.NullPointerException
at com.elmakers.mine.craftbukkit.permission.PermissionProfile.loadProfil
es(PermissionProfile.java:112)
es(PermissionProfile.java:132)
at com.elmakers.mine.bukkit.permission.GroupManager.loadProfiles(GroupMa
nager.java:331)
at com.elmakers.mine.bukkit.permission.GroupManager.initializePermission
s(GroupManager.java:91)
at com.elmakers.mine.bukkit.plugins.persistence.PersistenceListener.onPl
ayerJoin(PersistenceListener.java:21)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:162)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:59)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:255)
at net.minecraft.server.ServerConfigurationManager.a(ServerConfiguration
Manager.java:98)
at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
17:32:23 [INFO] spells [category] cast
cast
17:39:59 [INFO] Peristence: Can't find callback 'onCast' for plugin Spells
17:39:59 [INFO] cast [/CODE]
SOLVED!
Glad to hear it! Sorry I never got back to you here :)
[CODE]# Defines the "default" profile # All players have this profile by default default: Spells: commands: spells: true cast: - blink - torch # Defines a "wizard" profile wizard: Spells: cast: - heal - blink - torch - fireball - pillar - absorb - fill - cushion - undo - alter - blast - mine - tree - arrow - frost - gills - familiar - blob - superblob - paint - recurse - transmute - recall - disintegrate - manifest - peek - fire - window - lava - portal - phase - invincible - fire - tunnel - bridge # Defines the "admin" profile # These players can use "/su" to access any command # They can also cast spells on the command line admin: Persistence: commands: su: true Spells: commands: cast: true[/CODE]
is this how the "/plugins/persistence/permissions.yml" supposed to work?
I still cant cast spells...
also my plugins folder only has
/plugins/
spells.jar
persistence.jar
/plugins/persistence/
global.db
permissions.yml
is this right? or do i need the file
permissionsSupport.jar
[also i got an error:
[CODE]>spells
17:32:23 [INFO] Peristence: Can't find callback 'onSpells' for plugin Spells
17:32:23 [INFO] spells [category]
17:35:21 [INFO] 143 recipesategory]
17:35:21 [INFO] BlackStar836 [/127.0.0.1:2251] logged in with entity id 153
17:35:21 [SEVERE] Could not pass event PLAYER_JOIN to Persistence
java.lang.NullPointerException
at com.elmakers.mine.craftbukkit.permission.PermissionProfile.loadProfil
es(PermissionProfile.java:112)
at com.elmakers.mine.craftbukkit.permission.PermissionProfile.loadProfil
es(PermissionProfile.java:132)
at com.elmakers.mine.bukkit.permission.GroupManager.loadProfiles(GroupMa
nager.java:331)
at com.elmakers.mine.bukkit.permission.GroupManager.initializePermission
s(GroupManager.java:91)
at com.elmakers.mine.bukkit.plugins.persistence.PersistenceListener.onPl
ayerJoin(PersistenceListener.java:21)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:162)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:59)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:255)
at net.minecraft.server.ServerConfigurationManager.a(ServerConfiguration
Manager.java:98)
at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
17:39:59 [INFO] Peristence: Can't find callback 'onCast' for plugin Spells
17:39:59 [INFO] cast[/CODE]