All works! Thank’s Creepster!
Thanks! Working fantastic now alongside WorldEdit, PEX, and some Forge mods.
##Core v2.6.1b has been released:
Added commands:
/fly [player]
/speed [player] <multiplier>
Added permissions:
core.fly
core.fly-others
core.speed
core.speed-others
This is a great plugin and my server would definitely not be able to run without it!
I do have a few suggestions:
- Would it be possible to add an /invsee/openinv command to view player’s inventories and edit them.
- It would be very useful if there was some kind of a message that popped up in chat for everyone with the core.ticket.list permission when someone submits a ticket while you’re online “[playername] has just submit a ticket!” , or a timed (let’s say every 5 or 10 minutes) “There are currently [5] tickets open”.
- Item frames seem to not be protected inside of zones with build-deny and interact-deny.
- (I know you said that there will be more coming in terms of zones but this is slightly different from the usual claim block limits.) It would be great if you could add zones to a group (e.g. houses, shops etc) and have a permission that let’s someone claim a certain number of zones within a group. To put it into context I have prebuilt towns on my server and every house has a zone of its own. What I would like to do is add all the house zones to one group, and give everyone on the server the permission to be able to claim 1 house for themselves. (What I do at the moment is I get them to submit a ticket and I manually make them a member of the zone).
Keep up the good work
@CreepsterLGC Hello, i have an issue with /give and /i, when i do /i minecraft:tnt 5 or /give Flashback083 minecraft:tnt 5, i have a message : Item not found !
Its only me ? ^^
Thanks <3
Hi, Creepster!
Command /zone claim so it should work to remove zone? When I enter the command /zone create (name), in chat window write “zone (name) has been created”, but others users may break and put blocks in this zone! When I enter the command /zone claim (name), in chat window write “zone (name) has been removed”… It is should be?
public static ItemType getType(String type) {
for(Entry<String, Set<ItemType>> e
Controller.getGame().getRegistry().getGameDictionary().getAllItems().entrySet()) {
ItemType t = e.getValue().iterator().next();
String name = t.getName().replaceAll("minecraft:", "");
if(!name.equalsIgnoreCase(type)) continue;
return t;
}
return null;
}
ItemType type = ItemUtils.getType(args[1]);
if(type == null) {
sender.sendMessage(TextUtils.error("Item not found!"));
return CommandResult.success();
}
Maybe you do not use the latest Sponge Version on your server?
Hey I have got a little problem with the latest version of Core on the latest version of Sponge
[16:23:14] [Server thread/ERROR] [Sponge]: [Plugin Class: me.creepsterlgc.core.C
ore][Handler: onEnable]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0
_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0
_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
.8.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60]
at org.spongepowered.mod.plugin.SpongeModPluginContainer.handleModStateE
vent(SpongeModPluginContainer.java:126) [SpongeModPluginContainer.class:1.8-1499
-2.1DEV-620+spongeproject-ci-b620.git-924565cf97da529ec3737e59839eed632224ec9a]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0
_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0
_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
.8.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscribe
r.java:74) [minecraft_server.1.8.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(Sy
nchronizedEventSubscriber.java:47) [minecraft_server.1.8.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [mine
craft_server.1.8.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.jav
a:304) [minecraft_server.1.8.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraf
t_server.1.8.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(
LoadController.java:212) [LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(Lo
adController.java:190) [LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0
_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0
_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
.8.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscribe
r.java:74) [minecraft_server.1.8.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(Sy
nchronizedEventSubscriber.java:47) [minecraft_server.1.8.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [mine
craft_server.1.8.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.jav
a:304) [minecraft_server.1.8.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraf
t_server.1.8.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(L
oadController.java:119) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.serverStarting(Loader.java:781)
[Loader.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.handleServerStarting(F
MLCommonHandler.java:319) [FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(Dedicated
Server.java:286) [po.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) [M
inecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_60]
Caused by: java.lang.NoSuchMethodError: org.spongepowered.api.Server.getWorld(Lj
ava/lang/String;)Ljava/util/Optional;
at me.creepsterlgc.core.files.FileWorlds.setup(FileWorlds.java:78) ~[Fil
eWorlds.class:?]
at me.creepsterlgc.core.Core.onEnable(Core.java:135) ~[Core.class:?]
… 31 more
Can somebody help me please x3?
i use sponge 742, i must up still ? =3
thanks ! <3
Just an idea.
Maybe some Sponge updates just crashed the plugin.
So the update fixed it?
i going to test, wait few minutes ^^
I use build 744, command /give tnt or /give stone_slab:5 and etc, also wrote “Item not found”…
EDIT: Although NEI giving items as usual…
Hey netty,
1.) Sure, as soon as the InventoryAPI is implemented.
2.) Good idea, I’ll work on it!
3.) Iam not sure if the proper events for this are already implemented but I’ll have a look.
4.) There will probably be a solution for this within the upcoming versions.
Thanks for the suggestions!
The upcoming version will fix the /zone claim issue. Thanks for reporting!
I’ll have a look at this.
Regarding the /i tnt problem:
First of all it would be nice if you guys could await my reply first before spamming the thread with one and the same issue. The reason why this happens is quite simple:
Iam currently using a workaround to grab items by their names. The map I use is the one located in the registry which doesnt contain every item. Iam pretty positive that there will be a sponge-side solution for this pretty soon! Thanks for reporting it though.
Okay, sorry for spaming same issue that other person, i hope it can be fix soon ^^
Good works <3
Sponge already supports grabbing Items and Blocks by name.
Optional< ItemType> item = Sponge.getGame().getRegistry().getType(ItemType.class, name);
If you do NOT specify a prefix such as “minecraft:” then I assume vanilla. Prefixes are useful with mods as they can easily register an item with the same name. You should never grab anything from internal registry especially with SpongeForge as FML keeps track of their own.
Now thats good news!
Will adjust my code right now. Thanks man.
OK! Thanks, Creepster!
Play with my Murmeln, Creep
##Core v2.6.2c has been released:
- Some minor fixes including
/region claim
and the/i tnt
issue. - Everyone owning the
core.ticket.notify
permission will be notified when a ticket has been changed. - And as an extra I’ve added:
/enchant <enchantment> <level>
|core.enchant