Closed bjeardoe closed 11 years ago
Yeah, the config system was a bit retarded in 2.0.6, Try out 2.0.7-BETA2 and see if it yields better results :) Also, if you decide to use he beta, make sure to update when the final version is released.
Still having issues... could there be a plugin compatability issue?
---- NoItem Debug Dump File ----
Plugin Version: 2.0.7-SNAPSHOT-204
CraftBukkit Version: 1.2.5-R4.1-MCPC-SNAPSHOT
Minecraft Version: git-Bukkit-jenkins-CraftBukkit-173 (MC: 1.2.5)
Max Players: 25
Online Players: 2
Online Mode: false
Using Vault: true
Date/Time: Oct 10, 2012 - 22:21:50 Central Daylight Time
=================================
Item List Size: 0
Item List Values:
EMPTY
=================================
--- Installed Plugins ---
- mod_WirelessRedstoneAddons - ForgeMod
- mod_BuildCraftEnergy - ForgeMod
- mod_RedPowerWiring - ForgeMod
- GroupManager - 2.0 (2.9.4) (Phoenix)
- No_Grief_Ip_Logger - 1.1
- mod_BuildCraftCore - ForgeMod
- mod_ImmibisCore - ForgeMod
- Vault - 1.2.18-b229
- Multiverse-Core - 2.4-b527
- mod_BuildCraftFactory - ForgeMod
- mod_NetherOres - ForgeMod
- mod_EE - ForgeMod
- mod_TubeStuff - ForgeMod
- Permissions - 3.1.6
- mod_CCTurtle - ForgeMod
- milkAdmin - 1.9-07.08
- mod_WirelessRedstoneRedPower - ForgeMod
- mod_IC2NuclearControl - ForgeMod
- mod_ccSensors - ForgeMod
- mod_ImmiChunkLoaders - ForgeMod
- mcMMO - 1.3.09-b945
- mod_CompactSolars - ForgeMod
- mod_WirelessRedstoneCore - ForgeMod
- mod_IC2_ChargingBench - ForgeMod
- mod_IronChest - ForgeMod
- mod_MinecraftForge - ForgeMod
- BoatDrop - 0.4
- WorldEdit - 5.3
- Jobz - 1.2.1.0r0
- Multiverse-Inventories - 2.5-b207
- mod_RedPowerControl - ForgeMod
- NoItem - 2.0.7-SNAPSHOT-204
- PermissionsEx - 1.19.3
- mod_IC2 - ForgeMod
- LogBlock - 1.60
- mod_RedPowerMachine - ForgeMod
- mod_BuildCraftBuilders - ForgeMod
- LWC - 4.3.0 (b736-git-1b1150b1) (August 08, 2012)
- mod_RedPowerLighting - ForgeMod
- WorldGuard - 5.5.2 FOR TEKKIT 3.0.3 [AlienX]
- mod_RedPowerWorld - ForgeMod
- No_Grief Spy - 1.1
- mod_ComputerCraft - ForgeMod
- Lottery - 0.8.1
- mod_BuildCraftTransport - ForgeMod
- mod_NotEnoughItems - ForgeMod
- NGlogger - 1.2
- mod_PowerConverters - ForgeMod
- mod_AdditionalPipes - ForgeMod
- disablecraft - 0.12.2
- ExperienceMod - 2.2.6
- mod_Railcraft - ForgeMod
- mod_IC2AdvancedMachines - ForgeMod
- mod_RedPowerCore - ForgeMod
- mod_RedPowerLogic - ForgeMod
- Modifyworld - 1.19.3
- mod_ModularForceFieldSystem - ForgeMod
- Herochat - 5.6.0
- mod_EnderStorage - ForgeMod
- mod_CodeChickenCore - ForgeMod
- Balkon's WeaponMod - ForgeMod
- Essentials - 2.9.4
- Multiverse-Portals - 2.4-b548
- dynmap - 0.80-1315
- Dynmap-WorldGuard - 0.30
- EssentialsProtect - 2.9.4
- EssentialsSpawn - 2.9.4
- EssentialsGeoIP - 2.9.4
- Dynmap-HeroChat - 0.30
- dynmap-mobs - 0.30
=================================
--- Config Options ---
Notify - MemorySection[path='Notify', root='YamlConfiguration']
Notify.Admins - false
Notify.AdminMessage - &e%n &9tried to &c%t %i &9in world %w @ &a%x,%y,%z
Notify.NoUse - true
Notify.NoUseMessage - &9You are not allowed to use a(n) &4%i&9!
Notify.NoBrew - true
Notify.NoBrewMessage - You are not allowed to brew that potion! &4(%i)
Notify.NoHold - true
Notify.NoHoldMessage - You are not allowed to hold &4%i&9!
Notify.NoWear - true
Notify.NoWearMessage - You are not allowed to wear &4%i&9!
Notify.NoCraft - true
Notify.NoCraftMessage - You are not allowed to craft &4%i&9.
Notify.NoPickup - true
Notify.NoPickupMessage - You are not allowed to pick that up! (%i)
Notify.NoCook - true
Notify.NoCookMessage - You are not allowed to cook &4%i&9.
Notify.NoDrop - true
Notify.NoDropMessage - You are not allowed to drop &4%i.
Notify.NoBreak - true
Notify.NoBreakMessage - You are not allowed to break &4%i.
Notify.NoPlace - true
Notify.NoPlaceMessage - You are not allowed to place &4%i.
Notify.NoDrink - true
Notify.NoDrinkMessage - You are not allowed to drink that!
Notify.NoOpen - true
Notify.NoOpenMessage - You are not allowed to open that!
Debugging - false
PluginChannel - main
CheckForUpdates - true
ConfigurationVersion - 1.1
=================================
--- END DEBUG DUMP ---
It could be that you have 2 permissions manager >.> Get rid of GroupManager.
Well, you are not replying anymore... So if you don't reply within the next 3 days, I'll just close the issue and assume that your problem is fixed.
We are having a similar issue, it was running fine for me a few weeks ago, and when I tested it today the permissions had no effect, the only changes have been other plugins.
@bjeardoe
The only changes I have made were plugin updates for Logblock 1.60
, Multiverse-Core 2.4-b528
, Multiverse-Portals 2.4-b548
and the AlchemistFix, I see you have three of those plugins with the same or similar versions, try testing your server without them and see what happens.
@nala3 I tested your new build and it appears to work for some items only and the not allowed messages were not displayed, here is the error log:
2012-10-15 18:47:13 [SEVERE] Could not pass event PlayerItemHeldEvent to NoItem
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:752)
at net.minecraft.server.Packet16BlockItemSwitch.handle(SourceFile:24)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at net.worldoftomorrow.nala.ni.StringHelper.replaceVars(StringHelper.java:20)
at net.worldoftomorrow.nala.ni.StringHelper.notifyPlayer(StringHelper.java:124)
at net.worldoftomorrow.nala.ni.listeners.EventListener.notify(EventListener.java:621)
at net.worldoftomorrow.nala.ni.listeners.EventListener.onItemHeld(EventListener.java:430)
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
... 11 more
I have not been following the bukkit updates, so this error could possibly be cause because the bukkit version that tekkit uses is pretty old now, and allot has changed, do you have any ideas of a cause.
EDIT: I just tested blocking cobblestone (since it is a non tekkit item) from being held, and nothing happens in game and I don't get any errors in the console.
@bjeardoe No, I'm sorry, you have 3 permissions managers.
@sorifiend thanks for the information. I am looking into the errors now.
@sorifiend that error appears to have occurred because the player being checked was either itself null, or the .getDisplayName() method returned null.
Can you explain what was happening when this error occured?
Thanks for the quick response.
I was in the normal world when this happened, and I scrolled my mouse wheel to the item slot containing an item that had the nohold permission.
I removed a plugin I was suspicious of and noitem started working perfectly. The plugin in question was just a general commands plugin that we had made ourselves that enables commands like god-mode, item spawning, basic teleporting and colors names in chat.
So possibly we have something that is getting in the way of player events, I will try and get some more info and report back to you.
Did you want me to start a new ticket since this may be a different than bjeardoe's issue?
Yes, a new ticket may be beneficial at this point. Is there any way I can see the source of the plugin or just get a copy of it? If neither of those, I would say that if any of its event listeners have something like event.setCancelled(false); anywhere, to remove those and try it again.
Now if it is a bit more complicated like event.setCancelled(SomeBoolean); , then that should also be removed and replaced with a system that does not use a variable boolean. Things like this can cause issues with other plugins very easily.
Using Noitem 1.0.6
Following are permissions nodes I'm using for this guys group, I'm using PeX
(That's my item ID for Nova Cataclsym's.)
Here's my CustomBlocks.yml
I have a ton of other tekkit item ID's blocked for a couple groups that I haven't tested yet... I can't get the debug to work for some reason.