Giter VIP home page Giter VIP logo

jimiit92 / universeguard2 Goto Github PK

View Code? Open in Web Editor NEW
19.0 5.0 3.0 562 KB

An easy to use world protection plugin for Sponge

Home Page: https://ore.spongepowered.org/Francesco_Jimi/Universe-Guard

License: GNU General Public License v3.0

Java 100.00%
sponge minecraft universe-guard region minecraft-plugin minecraft-plugins minecraft-sponge minecraft-sponge-plugin sponge-plugin sponge-plugins

universeguard2's Introduction

UniverseGuard2 Travis

Universe Guard provides a simple command interface to protect some areas in your Minecraft Server world.

Visit us on Sponge Forums for downloads and more information.

How it works

Universe Guard is really easy to use. It all starts with a single command, /rg, wich gives you the Region Selector. With that you can define a Region and setting different things, such as flags, spawn point, assign it to some players, disable commands and so on. More informations about what you can set inside a Region can be found on the Wiki.

Requirements

Universe Guard do not require any other plugin or mod to be installed on your server.

Compatibility

Universe Guard has been build with the version 7.3.1 of SpongeAPI and has been tested with Sponge for Minecraft 1.10.2. By the way, this should also work with newest version of Sponge, but at the time I'm writing this document tests with other version are still in progess. Make sure you have the right Sponge version installed on your server, as any version prior to the one used by UniverseGuard won't make the plugin work

How to contribute

Since is an open source project anyone can help the development. So if you have any idea on how to improve the plugin, or how to fix some bugs feel free to write it on the Official Sponge page or in the Issues tab.

Or if you just want to show some support to the project, I've created a Ko-Fi link recently, so you can pay me a beer if you want to :) https://ko-fi.com/jimi_

Of course I'm not asking you to pay to use the plugin, and will NEVER do that. If you payed to use this plugin than you got scammed! I hope you like this plugin and help me to make it grow. Peace! :)

universeguard2's People

Contributors

brycey92 avatar eheimer avatar jimiit92 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

universeguard2's Issues

Feature request: add members to more than one region

Right now when trying to add a player to a new region who is already member of another region it fails with the message: The player is already a member of a region

Please make it possible to add players to more than one region. This shouldn't cause any logical issues because UG2 already has a priority system that defines which region is currently relevant to a player.

Unable to get "/rg add" to work

I can't figure out how to get /rg add to work. What I want is to add the user n_ib to the members of the region "Vexanos". Here's what I tried (in exactly that order) and what the response was:

/rg add owner n_ib Vexanos

No values matching pattern 'n_ib' present for name!
add owner n_ib Vexanos
_________^
Usage: /rg add []

/rg add member n_ib Vexanos

No values matching pattern 'n_ib' present for name!
add member n_ib Vexanos
___________^
Usage: /rg add []

/rg edit Vexanos

Pending region updated!
Editing region: Vexanos

/rg add owner n_ib

No values matching pattern 'n_ib' present for name!
add owner n_ib
_________^
Usage: /rg add []

It doesn't say that in the documentation but maybe it doesn't work for users which aren't connected to the server right now (which would be bad IMHO) so I tried again with myself:

/rg add owner YorVeX

The player is already a member of a region

But I am not, this is the first time I am trying to add myself to a region. Also I checked all region json files on the server and none of them is listing any member at all - it's always an empty JSON array.

What am I missing?

BTW: does that message mean any player can only be added as member of one region? That would be really bad and basically mean I need to find a different plugin. I plan to add players both to a bigger and shared region and to also give each player a smaller region solely for him.

/rg flag mobspawn doesn't work

/rg flag mobspawn doesn't work. I tried /rg flag mobspawn false or /rg flag mobspawn any false or /rg flag mobspawn zombie false.

Weird Error

#21
Hi, lovely plugin, I love it.
But, it worked for awhile quite nicely. Then I loaded MobController (Forge mod) and UniverseGuard started showing an error.
java.lang.NullPointerException: null
at com.universeguard.utils.RegionUtils.load(RegionUtils.java:145) ~[Regi
onUtils.class:?]
at com.universeguard.UniverseGuard.onGameStart(UniverseGuard.java:160) ~
[UniverseGuard.class:?]
at org.spongepowered.common.event.listener.GameStartedServerEventListene
r_UniverseGuard_onGameStart9.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredLi
stener.java:95) ~[RegisteredListener.class:1.12.2-2611-7.1.0-BETA-2963]

I of course removed MobController, but still get the same error. On checking the source, I saw line 145 is actually a comment.
I'm going to remove ALL the plugins and mods, and then start adding them again one by one.

Will let you know the results

OK, removed all and started to add one by one. No problems until I added UniverseGuard. Same error.
To be honest, I'm thinking the problem is NOT with your plugin. It's SpongeForge that generates the error. Attaching log for your info.
fml-junk-earlystartup.log

You can close this. It was a json formatting error.

Users do not have permissions for any /region commands unless granted all permissions.

I am using LuckPerms, and my users cannot use any /region subcommands. In the config, it appears that the only configurable permissions are "universeguard.all" and "universeguard.region", and obviously I don't want to give those permissions to regular users. There seems to be no mention of what permission will grant users the ability to use the region commands that are supposed to be available to everyone.

Added features?

Hi, I wonder if you could please add "Enter Message" and "Exit Message"? It will be handy for players to know when they are no longer protected by the spawn.
How does the mob-spawning work? Does your plugin stop mobs from spawning in a region?

Looking forward to hearing from you!

Permissions for all commands

Having just two permission nodes seems great for jsut-for-friend mess-around servers, but for professional servers, I would like to see a permission scheme more akin to WorldGuard's permissioning scheme.

For instance, I may want my players to get information on any region, but I only want players to be able to edit regions that they own (edit in this case being things like adding additional users and co-owners, setting region flags, and so forth). Currently, if I grant a player the ability to edit regions, they get the ability to edit ALL regions (see #94). As such, perhaps meta permissions will be the way I go for this. For example,

worldguard.region.info.own // Lets users query their own regions
worldguard.region.info.<regionID> // Lets users query a specific region
worldguard.region.info.* // Lets users query all regions

The meta permission (middle) assumes that region IDs are stored in a manner that does not allow spaces, similar to the way WorldGuard stores regions. Region names may have spaces of course.

I'll dig into the code this weekend and see what I can do to add this myself, though I will be honest in that my only experience is with Bukkit/Spigot plugins.

North, South, East, West for /rg expand

Can you add North, South, East, and West as aliases for Back, Front, Right, and Left when using /rg expand and any other commands which take a direction as an argument? It's more intuitive when checking your facing with F3, and it's consistent with WorldEdit. I always have to remind myself that Back is North, which doesn't make much sense to me. I think some people including myself would be more comfortable with cardinal directions, and it shouldn't take much effort to add.

Region specific permission

Is there any functionality to be able to give a specific permission node the ability to override the rules set for that region? For instance I defined a region around spawn but I want to give selective people access to build there without giving them access to the whole plugin.

Feature Request: Permission for /rg wand

I used worldguard (as I'm sure many others have) to protect the server spawn. However, I don't want players to be able to protect their builds. A permission to restrict the use of /rg wand would be very helpful for this reason.

Thanks for making this much-needed sponge plugin, and I hope it continues. There hasn't been a good worldguard replacement since spigot.

Also, you should add a hostile mob spawn flag. It would make things a smidge more convenient :)
i.e. /rg flag mobspawn hostile false

Feature Request: Additional Flags

Hello. I am just starting to use the plugin as I start to set up a new sponge server and so far it appears to do the job quite nicely. One request I have is whether you could add some additional flags to the simple flags. Specifically what I need is a flag that could apply potion effects on entering a region and have them start to dissipate on leaving a region (or be removed immediately if easier). One idea I had in mind was to create say like an irradiated zone that would apply some nasty effects without proper protection.

There is a Spigot plugin called Worldguard Extra Flags that appears spot on if the assist in providing direction and/or inspiration.

Thank you very much.

Feature Request: Make it possible to use the server console instead of in-game commands

Since I plan to create lots of protection areas I'd like to script this in the server, which means executing console commands on the server. There are several problems that prevent me from doing so right now.

  1. Commands that work in-game are not working on console, e.g. "rg list" or "region list" simply do nothing on console, while others say No values matching pattern 'PlayerName' present for name! although the same command works in-game.

  2. Commands referring to users don't work when the user is currently not connected to the server. It always ends up with the message No values matching pattern 'PlayerName' present for name! (similar message as for 1. but it also happens in-game and works as soon as the player has connected).

  3. There is no command that does what touching of a block with the Region Selector item is doing.

Can't drop items on local regions

Even if you set the "itemdrop" flag to true, you can't drop items on any local regions.

Tried with sponge 7.1.0 and UniverseGuard 2.7 for Minecraft 1.12.2

Thrown items vanishing in build deny areas

As the title states, when our users throw an item in an area that is protected with the flag build deny, the item vanishes and they are told they do not have perms to do that. The itemdrop flag is set to true in all cases. This is very upsetting as our players will certainly attempt to trade items with each other using /spawn, as well as may accidentally throw very valuable items, only to lose them forever. Any help with this issue would be greatly appreciated, if you need any more information I would be happy to provide it.

exit flag didn't work?

Hi guys and first thanks for your work!

I'm actually trying to put this "exit" flag to false, so players shouldn't be able to leave this area BUT they can... They can't leave with "tp" like commands BUT they can pass the area's frontiers...

Shouldn't this flag should actually block players who didn't have permission to pass through?

Hope there is a solution, in advance thanks for your answer.
Sincerely.

What flag is needed or is it a mistake?

Hi! We create server on sponge with use of Your plugin what we need flag to we could kill negative (or any mobs)? I watched the flags on damage to mobs, but they are included (green), and Bob hand them does not work. Region by the way the building spawn, need to negative the mobs did not spawn in it and you can hit it. Thank You!

Feature request: /rg reload

I'd like to have an /rg reload command that makes UniverseGuard reload all data from its files.

This way I can mass-edit files using a script and then reload it for the changes to take effect without having to restart the server.

Purchasable Regions

Used to have a plugin on Spigot called AreaShop that allowed defined regions to be purchased through a sign format or command. Since this is the only region based plugin working with sponge, I figured I'd make a suggestion. Allow regions to be bought/rented and automatically add the player who purchased the lot to the region so they can build and interact.

UniverseGuard-2.12 Spam

[12:52:17] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:17] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:17] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:18] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:18] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:18] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:18] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:19] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:19] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:19] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:19] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:19] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:20] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:20] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:20] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:20] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:20] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:21] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:21] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:21] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:22] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:22] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:22] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:23] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:23] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured
[12:52:23] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Universe Guard 2: psi:conjured

Suggestion: Crop trampling

Hi,
Can you perhaps add a flag for crop trampling for both players and mobs? It seems to be the only real flag missing.

Thank you!

Feature Request - ClaimBlock

A block that when you place it adds a cubed region of x,y,z dimension.

Settings:
Admin can define which block functions as the claim block
Admin can predefine flags the ClaimBlock has when placed by anyone.
Admin can predefine the x,y,z dimensions

[API 7] Certain mob spawns not working

Hello =)

I use the new universeguard2 you made (thanks !!)
it works good BUT i have a problem

we can't spawn animal like pig if i take a pig egg and do right clic i listen a sound like a pig spawn but the pig don't spawn, why ????

it's the same with chicken or cow ....

but wolf cat horse .... works

thanks to have a look

have a nice day

expand command ignores value

It makes no difference whether I type /rg expand up 10 or only /rg expand up - the region is always expanded to 256 when using the up direction and always to 0 when using the down direction.

Expansion in any other direction simply does nothing, with or without specifying a value.

I am using version 2.6 for Sponge API 7 with forge-1.12.2-14.23.2.2611 and spongeforge-1.12.2.2611-7.1.0-BETA-2912.

PvE Buggy

A region where mobs cannot spawn, but PvE is enabled does not allow members to attack mobs.
image
Image showing that I can't attack mobs in my region.

UniverseGuard is not properly working with Chisels&Bits (Not registering events).

I am currently running

  • SpongeForge version: 1.12.2-2655-7.1.0-BETA-3105

  • Forge version: 14.23.3.2655

  • Java version: JAVA 8

  • Plugins/Mods:
    Plugins (12): Minecraft, Minecraft Coder Pack, SpongeAPI, SpongeForge, FlexibleLogin, LuckPerms, Nucleus, PlaceholderAPI, SkinsRestorer, Total Economy, Universe Guard 2, VirtualChest
    Mods (18): Minecraft, Minecraft Coder Pack, Forge Mod Loader, Minecraft Forge, SpongeAPI, SpongeForge, Chisel, Chisels & Bits, CustomNPCs, Gliby's Voice Chat Mod, HyPlay Mod, Iron Chest, MalisisCore, MalisisDoors, MrCrayfish's Furniture Mod, Obfuscate, Vehicle Mod, WorldEdit

Issue Description

This issue is divided in 2 parts:

1.- If you try to chisel a block inside a protected region (UniverseGuard, FoxGuard, SafeGuard, etc), you will get the drop but the block won't be modified.

2.- If the block inside a protected region IS ALREADY chiseled, you will be able to modify it and you will also get the drop.

Chisel and Bits source: https://github.com/AlgorithmX2/Chisels-and-Bits
As the source code is disponible i'm pretty sure you can add a flag for it.

Thanks for reading.

Incompatibility

It doesn't work on Minecraft 1.12.2 Forge 2604 server with Sponge API 7.1.0 2848.
if i type /region it errors. please help...

Command user-friendliness proposal

While I was waiting for the API7 version to be released, I was toying around with using the Nations plugin for world-guarding. UniverseGuard has a lot more features that I'm looking for, so I'm going to make the switch. However, from using Nations for awhile, I really became accustomed to their super-easy user interface for using their commands.

  • [TAB] completes all of the command parameters, or pops up a list of matches if there's more than one.
  • When displaying all of the permissions info (flags) for a region, the nodes are clickable links to issue the respective command to toggle them on/off.

This prevents a LOT of repetitive typing and makes the commands a lot more intuitive.

I'm a developer in my other life, so if this is a feature you would like implemented and want me to take a stab at it, I'd love to help out. I've never contributed to a git project before, so give me some hints on how to get started.

-Eric

"/rg flag mobspawn all false" Not Saving in Config & Mobs Still Spawn

I'm trying to disable all mobs within a region using "/rg flag mobspawn all false" however UniverseGuard is not saving the edit and mobs are still spawning within the region. I included a number of screenshots showing the process I went through, as well as a screenshot of the config file of the local region following issuing the commands.

Creating the region in which mobs are spawning:


Editing the region with "/rg edit Region0":

Enabling the flag with "/rg flag mobspawn all false":

Flag change successful:

Then clearing all entites:

Yet, mobs continued to spawn:

When examing the config, I see no changes to the mob flags:

[1.10.2] Flowing water causes extreme lag

Whenever water is placed and allowed to flow with Universe Guard installed, whether inside or outside of a region, the server lags tremendously. Using Tick Profiler, I traced the lag back to com.universeguard.utils.RegionUtils.loadRegions, which calls com.google.gson.Gson.fromJson, which ends up using Java reflection to perform its task somewhere down the line, which causes extreme delays each tick. Switching to a different Json parser or adding other storage formats should resolve this problem.

Region Flags

Hi, I cant seem to get the mobspawn disallow flag to work.
I have tried every variation i can think of, including rg flag mobspawn disallow
always get the following error message
image

Please can you tell me the correct way to write the command?
Thanks

/region command error

Hi and first thanks for your work.

My /region command didn't work.
I've got this error message:
Error occurred while executing command 'region' for source EntityPlayerMP['Zex_'/11, l='world', x=55,74, y=4,00, z=247,10]: org/spongepowered/api/data/meta/ItemEnchantment

Thanks in advance for your answer, sincerely!

ERROR] [Sponge]: Error occurred while executing command 'rg create

[18:05:17] [Server thread/ERROR] [Sponge]: Error occurred while executing command 'rg create -695 1 -585 -876 256 -343 minecraft: overworld. world Stadt' for source EntityPlayerMP['XXXXJOJOXXXX'/123, l='world', x=-876,55, y=64,00, z=-342,46]: No value present
java.util.NoSuchElementException: No value present
at java.util.Optional.get(Unknown Source) ~[?:1.8.0_171]
at com.universeguard.command.RegionCreateExecutor.execute(RegionCreateExecutor.java:34) ~[RegionCreateExecutor.class:?]
at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:255) ~[ChildCommandElementExecutor.class:1.12.2-2705-7.1.0-BETA-3206]
at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:388) ~[CommandSpec.class:1.12.2-2705-7.1.0-BETA-3206]
at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:341) ~[SimpleDispatcher.class:1.12.2-2705-7.1.0-BETA-3206]
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:328) [SpongeCommandManager.class:1.12.2-2705-7.1.0-BETA-3206]
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:1083) [dh.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:958) [pa.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:937) [pa.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:148) [PacketUtil.class:1.12.2-2705-7.1.0-BETA-3206]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zla000(SourceFile:539) [hv$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_171]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_171]
at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:288) [SpongeImplHooks.class:1.12.2-2705-7.1.0-BETA-3206]
at net.minecraft.server.MinecraftServer.redirect$onRun$zjf000(MinecraftServer.java:3987) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]

Exception in 1.12.2 Sponge 7.1.0-BETA

When is the upgrade to Sponge API 7?

java.lang.NoClassDefFoundError: org/spongepowered/api/event/cause/entity/spawn/EntitySpawnCause
        at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_121]
        at java.lang.Class.privateGetDeclaredMethods(Unknown Source) ~[?:1.8.0_121]
        at java.lang.Class.privateGetPublicMethods(Unknown Source) ~[?:1.8.0_121]
        at java.lang.Class.getMethods(Unknown Source) ~[?:1.8.0_121]
        at org.spongepowered.common.event.SpongeEventManager.registerListener(SpongeEventManager.java:226) ~[SpongeEventManager.class:1.12.2-2555-7.1.0-BETA-2825]
        at org.spongepowered.common.event.SpongeEventManager.registerListeners(SpongeEventManager.java:293) ~[SpongeEventManager.class:1.12.2-2555-7.1.0-BETA-2825]
        at com.universeguard.utils.EventUtils.registerEvent(EventUtils.java:38) ~[EventUtils.class:?]
        at com.universeguard.UniverseGuard.registerEvents(UniverseGuard.java:308) ~[UniverseGuard.class:?]
        at com.universeguard.UniverseGuard.onInit(UniverseGuard.java:136) ~[UniverseGuard.class:?]
        at org.spongepowered.common.event.listener.GameInitializationEventListener_UniverseGuard_onInit11.handle(Unknown Source) ~[?:?]
        at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.12.2-2555-7.1.0-BETA-2825]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:338) [SpongeModEventManager.class:1.12.2-2555-7.1.0-BETA-2825]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:371) [SpongeModEventManager.class:1.12.2-2555-7.1.0-BETA-2825]
        at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:213) [SpongeImpl.class:1.12.2-2555-7.1.0-BETA-2825]
        at org.spongepowered.mod.SpongeMod.onStateEvent(SpongeMod.java:232) [SpongeMod.class:1.12.2-2555-7.1.0-BETA-2825]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
        at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) [minecraft_server.1.12.2.jar:?]
        at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) [minecraft_server.1.12.2.jar:?]
        at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) [minecraft_server.1.12.2.jar:?]
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) [minecraft_server.1.12.2.jar:?]
        at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) [minecraft_server.1.12.2.jar:?]
        at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) [minecraft_server.1.12.2.jar:?]
        at com.google.common.eventbus.EventBus.post(EventBus.java:217) [minecraft_server.1.12.2.jar:?]
        at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:253) [LoadController.class:?]
        at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:231) [LoadController.class:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
        at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) [minecraft_server.1.12.2.jar:?]
        at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) [minecraft_server.1.12.2.jar:?]
        at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) [minecraft_server.1.12.2.jar:?]
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) [minecraft_server.1.12.2.jar:?]
        at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) [minecraft_server.1.12.2.jar:?]
        at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) [minecraft_server.1.12.2.jar:?]
        at com.google.common.eventbus.EventBus.post(EventBus.java:217) [minecraft_server.1.12.2.jar:?]
        at net.minecraftforge.fml.common.LoadController.redirect$onPost$zza000(LoadController.java:560) [LoadController.class:?]
        at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148) [LoadController.class:?]
        at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:719) [Loader.class:?]
        at net.minecraftforge.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:107) [FMLServerHandler.class:?]
        at net.minecraftforge.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:336) [FMLCommonHandler.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:219) [nz.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484) [MinecraftServer.class:?]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
Caused by: java.lang.ClassNotFoundException: org.spongepowered.api.event.cause.entity.spawn.EntitySpawnCause
        at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_121]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_121]
        ... 47 more

Issue with permissions

I've been using 2.13 version of this plugin on spongeforge and I've given myself universeguard.all and universeguard.* permnode.
However whenever I try to use the /rg command it says I don't have necessary permissions...

./rg or /region not giving selection item

Hello, as my title states, when we type /rg or /region nothing happens. As a result we are unable to use the plugin or any of its features, hopefully you can help! We are running version 1.12.2 of minecraft, spongeforge-1.12.2-2611-7.1.0-BETA-2916.jar, and UniverseGuard-2.6-AP17 (for 1.12.2). Other commands work, it is just /rg and /region that return nothing. Let me know if you need any more info!

Travis CI misconfigured

On all of the commits using it, the Travis CI builds fail because the system can't find ".travis.yml" or a "rakefile." If Travis were working, we could use it for automated testing of the plugin, which would make development and bugfixing easier.

Compatability with luckperms?

List of commands to give to Luckperms? List of commands in general. I know it should be on the ore page. However, Until thats set up. Can they have a nice post somewhere? lol

not working in 1.12.2

Brand new clean server with:

forge 1.12.2 - 14.23.1.2555
spongeforge-1.12.2-2555-7.0.0-BETA-2758.jar.
UniverseGuard-2.0.jar

[21:51:49] [Server thread/ERROR] [Sponge]: Error occurred while executing command 'rg' for source EntityPlayerMP['MathiasCowleyEsq'/320, l='world', x=189.04, y=71.54, z=171.35]: org/spongepowered/api/data/meta/ItemEnchantment
java.lang.NoClassDefFoundError: org/spongepowered/api/data/meta/ItemEnchantment
        at com.universeguard.utils.InventoryUtils.getSelector(InventoryUtils.java:37) ~[InventoryUtils.class:?]
        at com.universeguard.command.RegionExecutor.execute(RegionExecutor.java:35) ~[RegionExecutor.class:?]
        at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:176) ~[ChildCommandElementExecutor.class:1.12.2-2555-7.0.0-BETA-2758]
        at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:360) ~[CommandSpec.class:1.12.2-2555-7.0.0-BETA-2758]
        at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:342) ~[SimpleDispatcher.class:1.12.2-2555-7.0.0-BETA-2758]
        at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:321) [SpongeCommandManager.class:1.12.2-2555-7.0.0-BETA-2758]
        at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:1083) [dh.class:?]
        at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:958) [pa.class:?]
        at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:937) [pa.class:?]
        at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
        at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
        at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:151) [PacketUtil.class:1.12.2-2555-7.0.0-BETA-2758]
        at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zkf000(SourceFile:539) [hv$1.class:?]
        at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_151]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_151]
        at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
        at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:274) [SpongeImplHooks.class:1.12.2-2555-7.0.0-BETA-2758]
        at net.minecraft.server.MinecraftServer.redirect$onRun$zih000(MinecraftServer.java:4008) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:721) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) [nz.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
Caused by: java.lang.ClassNotFoundException: org.spongepowered.api.data.meta.ItemEnchantment
        at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_151]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_151]
        ... 24 more
Caused by: java.lang.NullPointerException

Users cannot use a lighter in a region they do not own, even if the lighter permission is enabled.

I had a protected region where I wanted users to be able to use a lighter in a certain area to light a netherrack block that would be read by an observer block as part of a puzzle, but even though the lighter permission was enabled in the region, users were unable to use a lighter on the block. Which other permission is blocking them from doing so? Does this count as "placing" a block? Could this behavior be changed?

Option to protect shulker boxes?

One of my players claims that shulker boxes are not protected in their region, even though chests are protected. There does not seem to be any specific option to protect shulker boxes currently.

Feature Request: Poly Regions

Would it be possible to have regions that are made up of more than 2 points? Worldguard had a feature like this and I built an adventure map that had poly regions with over 15000 points. I am trying to bring that map back online but no protection plugins have poly regions.

Player getting permission denied message when killing mobs in region with pvp flag disabled.

In a global region (no local region) with the pvp flag set to false, a player is getting a message that they "aren't allowed to do that" every time they kill (not just attack) a mob which was spawned from a mob spawner block. Re-enabling the pvp flag removes the message. Strangely, mobs which spawned naturally (not from a spawner block) are not producing the message. The user also reports that spawner block mobs can't hurt them. I am a little stumped about this situation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.