Sign in to follow this  
AlienX

[Tekkit 3.0.4] WorldGuard-- FIXES INSIDE!

Recommended Posts

[sEVERE] Could not pass event EntityExplodeEvent to WorldGuard

org.bukkit.event.EventException

    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)

    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)

    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)

    at net.minecraft.server.Explosion.a(Explosion.java:202)

    at net.minecraft.server.World.createExplosion(World.java:1561)

    at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:241)

    at net.minecraft.server.powercrystals.netherores.BlockNetherOres.a(BlockNetherOres.java:131)

    at net.minecraft.server.World.a(World.java:2425)

    at net.minecraft.server.World.doTick(World.java:1772)

    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:543)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453)

    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Caused by: java.lang.NullPointerException

    at com.sk89q.worldguard.bukkit.WorldGuardEntityListener.onEntityExplode(WorldGuardEntityListener.java:486)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:601)

    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)

    ... 11 more

I've been getting this error with nether ores and machines exploding, is this something you could fix in your WorldGuard patch?

I asked about it in the Technic IRC and they told me it was broken.

Share this post


Link to post
Share on other sites

@Nentify: What sort of machine did you use to have that error? I couln't recreate it with the Nuclear Reactor (which is a machine, right? ;))

BTW, I couldn't place that same Reactor anywhere in a particular world I have. Thank god, it is a test world. I can't place it in the overworld, nor in the Nether. I thought it was one of my plugins, so I removed them all temporarly and still I couldn't place them. Then I installed a fresh Tekkit with no extra mods at all. Again, can't place it. After that, I started just a new world where I was able to place them. Very weird glitch, but no problem so long it won't happen in my MP world. It worked perfect in the new world, so I let it blew up in the Nether to test the above error. Got nothing.

Share this post


Link to post
Share on other sites

I'm guessing it would be with things like batboxes exploding which create small explosions, I'll do some tests though. I've not been able to recreate it as of yet.

Share this post


Link to post
Share on other sites

well so far i applied your patches

in NEI i try Delete Mode and PFFFT! Crash with Internal Server Error

16:35:30 [WARNING] Failed to handle packet: java.lang.NullPointerException

java.lang.NullPointerException

        at codechicken.nei.NEIServerConfig.canPlayerUseFeature(NEIServerConfig.j

ava:84)

        at codechicken.nei.NEIServerPacketHandler.handlePacket(NEIServerPacketHa

ndler.java:42)

        at codechicken.core.CoreUtils.handlePacket(CoreUtils.java:150)

        at codechicken.core.PacketCustom.recieve(PacketCustom.java:451)

        at net.minecraft.server.mod_CodeChickenCore.onPacket250Received(mod_Code

ChickenCore.java:65)

        at net.minecraft.server.BaseMod.onPacket250Packet(BaseMod.java:74)

        at cpw.mods.fml.server.FMLBukkitHandler.handlePacket250(FMLBukkitHandler

.java:381)

        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1444)

        at net.minecraft.server.Packet250CustomPayload.handle(SourceFile:46)

        at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)

        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:121)

        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7

8)

        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:556)

        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453)

        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

>

Share this post


Link to post
Share on other sites

Just a notice to anyone using my NEI Fix:

There has been another exploit that has been discovered, and another person (robokid89) has fixed them up!

Check my first post for details.

Share this post


Link to post
Share on other sites

Do you think you can add support for Rings and the Philosopher's Stone? They still go right through worldguard.

Share this post


Link to post
Share on other sites

Do you think you can add support for Rings and the Philosopher's Stone? They still go right through worldguard.

In reality it's bukkit that is unaware of the block changes (thus WG is also), as its the mod itself that is changing the blocks.

I was meant to do programming this weekend to fix up this stuff, but the Beta Weekend Event of Guild Wars 2 took priority :P

Share this post


Link to post
Share on other sites

Hey alienX we are making a server that we want to ban some armor from being used and going into inventory and rings ect, how do i code that into the tekkit.yml file for these types of items we tryed doing it in worldguards blacklist but it doesnt work for tekkit items PLZ HELP and fast cuz people arnt being kind to the server

Share this post


Link to post
Share on other sites

Hello,

My WG Modification only blocks the right clicking onto blocks.

You wont be able to make my WG mod disallow people to wear armor, or block the interactions/abilities of some (if not all) rings.

Share this post


Link to post
Share on other sites

Hello,

My WG Modification only blocks the right clicking onto blocks.

You wont be able to make my WG mod disallow people to wear armor, or block the interactions/abilities of some (if not all) rings.

The only request I have is that people cant use quarries etc in a protected region.

Share this post


Link to post
Share on other sites

try this Stephen:

/region addmember REGIONNAME [buildCraft]

or set it to be an OP, and have OP Permissions enabled in the WG Config file.

or set the group permissions (if ur using that) of the user [buildCraft] to have WorldGuard.*

Share this post


Link to post
Share on other sites

try this Stephen:

/region addmember REGIONNAME [buildCraft]

or set it to be an OP, and have OP Permissions enabled in the WG Config file.

or set the group permissions (if ur using that) of the user [buildCraft] to have WorldGuard.*

So I could just op [buildCraft] and have the op permissions in the config enabled and that will work?

Share this post


Link to post
Share on other sites

It only blocks the usage of items in an area, for example:

Team A have a region that Team B cannot build in, thus Team B are now also unable to access Team A's tekkit machines/engines/chests etc with my fix.

It does not stop crafting stuff, or acctually being able to right click with stuff either.

Share this post


Link to post
Share on other sites

LWC has no issues anyway?

I was going with what someone else was wanting a version to lock the new things with openable GUIs.

Share this post


Link to post
Share on other sites

I was going with what someone else was wanting a version to lock the new things with openable GUIs.

Just add them to the list in core.yml

Share this post


Link to post
Share on other sites

AlienX Can you help me with WorldGuard? Im trying to blacklist Tekkit items such as the RM and DM furance but i dont know if i put meta data or just 126.4? And I've tried PEX/modifyworld it doesnt work worth shit nor will anyone on the forums help heres my blacklist.txt

#

# WorldGuard blacklist

#

# The blacklist lets you block actions, blocks, and items from being used.

# You choose a set of "items to affect" and a list of "actions to perform."

#

###############################################################################

#

# Example to block some ore mining and placement:

# [coalore,goldore,ironore]

# on-break=deny,log,kick

# on-place=deny,tell

#

# Events that you can detect:

# - on-break (when a block of this type is about to be broken)

# - on-destroy-with (the item/block held by the user while destroying)

# - on-place (a block is being placed)

# - on-use (an item like flint and steel or a bucket is being used)

# - on-interact (when a block in used (doors, chests, etc.))

# - on-drop (an item is being dropped from the player's inventory)

# - on-acquire (an item enters a player's inventory via some method)

#

# Actions (for events):

# - deny (deny completely, used blacklist mode)

# - allow (used in whitelist mode)

# - notify (notify admins with the 'worldguard.notify' permission)

# - log (log to console/file/database)

# - tell (tell a player that that's not allowed)

# - kick (kick player)

# - ban (ban player)

#

# Options:

# - ignore-groups (comma-separated list of groups to not affect)

# - ignore-perms (comma-separated list of permissions to not affect - make up

#  your very own permissions!)

# - comment (message for yourself that is printed with 'log' and 'notify')

# - message (optional message to show the user instead; %s is the item name)

#

###############################################################################

#

# For more information, see:

# http://wiki.sk89q.com/wiki/WorldGuard/Blacklist

#

###############################################################################

#

# Some examples follow.

# REMEMBER: If a line has # in front, it will be ignored.

#

 

# Deny lava buckets

#[lavabucket]

#ignore-perms=my.own.madeup.permission

#ignore-groups=admins,mods

#on-use=deny,tell

 

# Deny some ore

#[coalore,goldore,ironore]

#ignore-groups=admins,mods

#on-break=notify,deny,log

 

[rmfurnace]

ignore-groups=Luke,Admins

on-place=deny,tell

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this