WorldEdit for SpongeAPI

I’ll update to 1.11.2

1 Like

thought so, thanks. :relieved:

Incorrectly named version. I have it worldedit-sponge-mc1.11-6.1.5-SNAPSHOT-dist.jar

He has a problem. I copy and paste small objects.

I think it’s on vanilla sponge will work.

Hello i have an issue copying over schematics.

I’m running on my PC forge-1.10.2-12.18.3.2185 and worldedit-forge-mc1.10.2-6.1.4-dist.
On my server i run SPongeForge 1.10.2 and worldedit-sponge-mc1.10.2-6.1.5-SNAPSHOT-dist.

Running same versions on both.
http://imgur.com/a/kCDOI

When i copy blocks over as a schematic from my pc to my server i get an error.

Please report this error:[See Console]
java.lang.reflect.InvocationTargetException: null

And this is what my console shows me.

12.01 07:40:53 [Multicraft] Skipped 117 lines due to rate limit (30/s)
12.01 07:40:22 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)
12.01 07:40:22 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zjd000(SourceFile:39)
12.01 07:40:22 [Server] INFO at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:156)
12.01 07:40:22 [Server] INFO at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9)
12.01 07:40:22 [Server] INFO at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37)
12.01 07:40:22 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:892)
12.01 07:40:22 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:913)
12.01 07:40:22 [Server] INFO at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:83)
12.01 07:40:22 [Server] INFO at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:295)
12.01 07:40:22 [Server] INFO at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333)
12.01 07:40:22 [Server] INFO at com.sk89q.worldedit.sponge.SpongePlatform$1.process(SpongePlatform.java:131)
12.01 07:40:22 [Server] INFO at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:173)
12.01 07:40:22 [Server] INFO at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:187)
12.01 07:40:22 [Server] INFO at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73)
12.01 07:40:22 [Server] INFO at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58)
12.01 07:40:22 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:497)
12.01 07:40:22 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
12.01 07:40:22 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
12.01 07:40:22 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
12.01 07:40:22 [Server] INFO at com.sk89q.worldedit.extension.platform.CommandManager.handleCommand(CommandManager.java:248)
12.01 07:40:22 [Server] INFO at com.sk89q.worldedit.util.command.SimpleDispatcher.call(SimpleDispatcher.java:125)
12.01 07:40:22 [Server] INFO at com.sk89q.worldedit.util.command.parametric.ParametricCallable.call(ParametricCallable.java:228)
12.01 07:40:22 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:497)
12.01 07:40:22 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
12.01 07:40:22 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
12.01 07:40:22 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
12.01 07:40:22 [Server] INFO java.lang.reflect.InvocationTargetException
12.01 07:40:22 [Server] INFO SEVERE: [WorldEdit] An unexpected error while handling a WorldEdit command
12.01 07:40:22 [Server] INFO Jan 12, 2017 7:40:22 AM com.sk89q.worldedit.extension.platform.CommandManager handleCommand
12.01 07:40:22 [Server] Server thread/INFO [nucleus]: Pixelhouse ran the command: //paste
12.01 07:40:19 [Server] INFO INFO: [WorldEdit] Pixelhouse loaded /config/worldedit/schematics/improveddragon.schematic

Hopefully someone can help me, thanks in advance.

I also to remove any doubts have now the same forge/spongeforge and Worldedit running on both my offline and online server. Stil getting alot of errors,i cant even do //replace or //drain only touches one block maximum for some reaon :s.

Can someone help/tell me why my default users can see all worldedit commands in /help?
I cannot remove it eventhough its turned of in the config.
I’m using the forge WE though as the sponge one is full with bugs.

Also i get alot of these commands that give me You are not permitted to do that. Are you in the right mode?
instead of You do not have permission to use that.

Thanks in advance!

Hello.
The link “wiki” is dead…

How i give the permission to a player for worledit ?

it’s not worldedit.*

Thanx :slight_smile:

It depends on the permission plugin, many don’t support the * notation. Sponge generally allows root permissions to be used as generics, so try adding just worldedit (which will give you everything). You can also track other permissions using pex debug or lp verbose, for PEx and Luckperms respectively. Hopefully the WorldEdit Wiki will be back to life very soon.

1 Like

thanx very mutch

@kenzierocks I was wondering if you could add support for block id’s for more than 4095 i would really love this because using moded items would be so much help with world edit thanks in advance if you can do this!!

There are no block IDs above 4095. The ID you see in your inventory is an item ID. I don’t know how to get the int block ID without adding some mod to print it for you, but you should be able to use the recommended String IDs like minecraft:air or some_mod:some_block.

1 Like

ok @kenzierocks Could you possibly make a simple test build for me adding a thing where it is able to proccess highe ritem ids even though they might not exist im just wondering maybe that could work?

Or, or, you could use the text ID like he literally just said would work. I don’t think mods even work with numerical IDs anymore. There’s certainly no facility to work with numerical IDs in sponge.

Whether it will be available //regen command?

1 Like

I’ve got a little funny error:

I guess the //stack command tried to clone me there xD

//regen still not working. :disappointed:

1 Like

Crash that seems to be being caused by this.

If a player times out using FlexibleLogin the server crashes, citing an exception that seems to be linked to an undefined class in WE?

Printout can be found here

Any aid would be appreciated :slight_smile:

EDIT:

As I backtracked to try an earlier version I’m currently running:
WorldEdit Sponge 1.10.2 - 6.1.5 - Snapshot - dist.jar
Flexible Login 12.3
Sponge API: 5.1.0 Snapshot 323db46
SpongeForge 1.10.2-2171-5.1.0 Beta 1983
MinecraftForge 12.18.2.2111

But the error also occurred on:
Sponge API: 5.1.0 Snapshot 6459642
SpongeForge 1.10.2-2221-5.1.0 Beta 2142
MinecraftForge 12.18.3.2221

Stacktrace

What’s the benefit compared with WorldEdit Forge?

I get an error

crash: https://hastebin.com/ewikuhobex.pl

We have some issues with Sponge for MC 1.10.2 as soon as we type a command:

> //pos1
> Mar 27, 2017 3:03:55 AM com.sk89q.worldedit.util.eventbus.EventBus dispatch
SEVERE: [WorldEdit] Could not dispatch event: com.sk89q.worldedit.event.platform.CommandEvent@1d6bf2
02 to handler EventHandler{priority=NORMAL}
java.lang.reflect.InvocationTargetException
        at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:75)
        at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:187)
        at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:173)
        at com.sk89q.worldedit.sponge.SpongePlatform$1.process(SpongePlatform.java:131)
        at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:3
36)
        at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:2
95)
        at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:1083)
        at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:423)
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:388)
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58)

        at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73)
        ... 11 more
Caused by: java.lang.NullPointerException
        at com.boydti.fawe.object.FawePlayer.wrap(FawePlayer.java:90)
        at com.sk89q.worldedit.extension.platform.CommandManager.handleCommand(CommandManager.java:4
35)
        ... 17 more