Universe Guard 2: an easy to use world protection plugin


#205

Hi, I’m trying to set up permissions for this plugin for my server but i can’t seem to find them.

Does this plugin have Permissions?


#206

Hey, it’s me once again :stuck_out_tongue:

Sorry but I have an issue when i’m trying to sell my region, I tried /rg sell, /sell region, /region sell… I’m on 1.12.2 but the command doesn’t appear anywhere, and no errors in my logs.

Can I ask u at the same time for which date is the addition of the addon for selling regions with signs etc ?

Thank’s in advance, and sorry for taking ur time !


#207

Right now there are only 2 permissions you can set (“universeguard.region” and “universeguard.all”). Unfortunately these two are not extremely useful, they just defines if a player can use all commands or some specific commands and bypass region restrictions. However a new version of the plugin is in development with a proper permission system where you can define wich permission the user must have in order to run a command or doing something, so you can have something like this: only players with the “VIP” permission can enter this specific region, the others won’t.
Answering @D3stiny’s question too here: no clue when this will be released because the plugin itself is going through a complete refactoring in order to make new things works properly (like the permissions system). For the command try with “/rg setvalue”


#209

Hi, i’m back again, sorry to annoying you but i need some help :smile:

I have CustomNPC in my server and NPC with worldline and attackline, which send text in chat when standing near or attacking an NPC. Problem is theses text appears for everyone on the server while it should be only for people near the npc. The problem only happen when Universe Guard is present, so i think it come from here but i didn’t find anything to correct it :confused:

Do you have any idea about it ?


#210

I have the same bug, it appears to persist even with UniverseGuard2 removed. not entirely sure this plugin is the source of the bug.


#211

Thanks for the feedback, i’m happy to see i’m not the only one who have this issue. For now, this bug isn’t persistent on my server when i remove UG2, so maybe it’s something more general with sponge and CNPC ? :confused: Do you have others plugin on your server ?


#212

I have quite a few plugins on my server, I thought i had UG removed but perhaps i did not.


#213

Okai, i’ll test some things during next few days, if i find something i’ll post my feedbacks


#214

Plugin list is here if it helps you:


#215

I’m back for news. Sorry for the long time :slight_smile:

I think i found the origin of this bug. In the case of Universe Guard, it’s the “sendchat” flag and function which is concerned, but it’s insufficent to not using it : I had to disable the file “FlagSendChatListener.java” in the plugin. UG2 still working even with this radical solution.

In my opinion, problem come from a function of Sponge API using here :
’import org.spongepowered.api.entity.living.player.Player;'

But my knowledge in coding are basic, i’m not sure.

In your case @hellbringer616, it’s some function of Nucleus which are concerned cause they used the same Sponge API function. For this, you can disable specific modules in the config file : mute ; connection-messages ; ignore ; afk and of course chat and you will not have problem whith CNPC worldline anymore.

Anyway, @Francesco_Jimi, it would be usefull to have a similar system in UG to disable function in config ^^


#216

@Francesco_Jimi I am having issues making it where players can interact with objects when it comes to modded blocks, such as the pixelmon pokehealer, and I was wondering if you or anyone else on here could help.


#217

So some sort of settings that will disable the handling of the flag/command entirely, like the command didn’t event exist? I’ll see if i can ship it with the version 3 of UniverseGuard :smiley:


#218

I don’t know about how that block from pixelmon works, but i think it might be actually an entity that looks like a block. Try to see if there is an entity related to that block and try to disable it’s spawning. Unfortunately dealing with modded stuff is not easy :confused:


#219

Thanks for your response @Francesco_Jimi :smiley: . Is UG3 coming soon ? :smiley:

Otherwise, a little update about the barbarian method explained before. Doing this broke some flags as enter & exit.

So in place, i suggest to edit “UniverseGuard2.java” (src/main/java/com/universeguard/) and remove the line #400EventUtils.registerEvent(new FlagSendChatListener());”. Then, simply recompile the plugin.

For this moment, i didn’t notice any issue with this method.


#220

In our continuing effort to phase out the Plugin Releases category, this thread is being locked because the plugin is already listed on Ore.

Check it out: https://ore.spongepowered.org/Francesco_Jimi/Universe-Guard


#221