GithubHelp home page GithubHelp logo

invvk / worldguardextraflags Goto Github PK

View Code? Open in Web Editor NEW
26.0 2.0 10.0 443 KB

WorldGuard Extra Flags reborn.

Home Page: https://www.spigotmc.org/resources/96894/

License: MIT License

Java 100.00%
spigot worldguard java16 paper bukkit craftbukkit plugin java gradle essentialsx spigotmc worldedit spigot-plugin bukkit-plugin minecraft

worldguardextraflags's Introduction

WorldGuard Extra Flags

Discord BStats

ORIGINAL | SPIGOT PAGE | WIKI | FAQ

Discription

WGEF is an extension to WorldGuard plugin, originally developed by aromaa. it offers variety of new features and flags.

System requirements

This plugin runs on spigot. Spigot forks without compiled NMS code are not supported. Officially supported servers are spigot and paper 1.17+. It is recommended to use Java 16+.

Community Servers

Servers that uses this plugin (contact me in discord to add your server):

- mc.davidscloud.net

Contributing

To contribute to this project, please make sure that you read CODE OF CONDUCT first and follow all the rules there.

After you finish follow the Contributing page and make sure that you meet the requirement in order for your contribution to be accepted.

Remember that by contributing, your changes will be also under the MIT License. if you don't agree with the MIT license, then please don't contribute!

Contact

Discord Server

worldguardextraflags's People

Contributors

chimpgamer avatar invvk avatar renovate-bot avatar renovate[bot] avatar sxtanna avatar

Stargazers

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

Watchers

 avatar  avatar

worldguardextraflags's Issues

Flag allow-entity-destroy and allow-entity-damage doesn't work with arrows

Server Implementation

Paper

Server Version

1.18.1

Describe the bug

When using the allow-entity-damage and allow-entity-destroy flag, it is not possible to break ender crystals using arrows.

It is possible to break using the fists.

To Reproduce

  1. Create a protection on the main island of the end.
  2. Use the command:
    /rg flag -w "world_the_end" <region> allow-entity-damage ENDER_CRYSTAL
    /rg flag -w "world_the_end" <region> allow-entity-destroy ENDER_CRYSTAL
  3. Summon the Ender Dragon with ender crystals
  4. Try to destroy the ender crystals using bow and arrow

Expected behaviour

Being able to break ender crystals with bow and arrow.

Screenshots / Videos

worldguardflags_error.mp4

Error log (if applicable)

No response

WGEF-Reborn version

WGEF-Reborn version 2.5-stable+bca609f

Checklist

Anything else?

No response

Entity Place flag incorrect handling

Server Implementation

Spigot

Server Version

1.18.1

Describe the bug

The entity place flag currently uses the EntityPlaceEvent from spigot to allow or deny placement.

Currently, WorldGuard listens to the PlayerInteractEvent to determine whether an entity (ex. Ender Crystal) can be placed.

The interact event is being cancelled, causing the entity place event to never be called, rendering the allow-entity-place flag useless.

To Reproduce

  1. Create region
  2. set allow-entity-place to ender_crystal
  3. see how it doesn't work

Expected behaviour

I expect the plugin to listen to WorldGuard's SpawnEntityEvent

Screenshots / Videos

No response

Error log (if applicable)

No response

WGEF-Reborn version

2.4-stable+035799b

Checklist

Anything else?

No response

Allow/Deny Block Place/Break is not working as intended

Server Implementation

Paper

Server Version

1.17.1

Describe the bug

As the title says.

To Reproduce

  1. add a allow/deny block break/place
  2. test out the changes and you will notice that it is not working

Expected behaviour

for the flags to work by allowing/denying the blocks to be placed/broken

Screenshots / Videos

No response

Error log (if applicable)

No response

WGEF-Reborn version

WGEF-REBORN version 2.1.0

Checklist

Anything else?

No response

The give-effect flag pauses all effects regardless of the region effects

Server Implementation

Paper

Server Version

1.17.1

Describe the bug

If you enter a region in which the give-effect flag is active, all effects that you had before entering the region are paused. If you leave the region, they are set again with the correct strength and length. This behaviour should only apply to effects that are already given by the region and not to all effects.

To Reproduce

  1. Create a worldguard region
  2. /rg flag give-effects fast_digging 1
  3. Drink a night vision potion and give yourself the fast_digging effect.
  4. Enter the region -> all effects are paused while you get the effects of the region

Expected behaviour

The night vision effect should continue while the fast_digging effect should be paused until you leave the region again. Only those effects should be paused that are also assigned by the region.

Screenshots / Videos

No response

Error log (if applicable)

No response

WGEF-Reborn version

WGEF-Reborn version 2.1.7

Checklist

Anything else?

No response

Collisions

What feature do you want to see added?

A no-collision flag that will disregard collision when a region has the flag.

Are there any alternatives?

I am currently using this right now (https://www.spigotmc.org/resources/worldguard-disable-collision.88953/) and so far it is still working with 1.17. I just want it to suggest the feature in here so I can just simply uninstall this one.

Anything else?

No response

Command-on-entry flag is not triggered when joining the game

Server Implementation

Paper

Server Version

1.17.1

Describe the bug

The flag command-on-entry is not triggered when a player logs in and arrives in the corresponding region, e.g. by a relog. A teleport into a region works fine, on the other hand. It would be great if the flag would also execute the command when a player joins the game and arrives in the region.

To Reproduce

  1. Create a worldguard region.
  2. /rg flag command-on-entry
  3. Enter the region and teleport into the region -> everything works fine
  4. Relog in the region -> the command-on-entry is not triggered.

Expected behaviour

The flag command-on-entry should be triggered when a player joins the server and arrives in the corresponding region.

Screenshots / Videos

No response

Error log (if applicable)

No response

WGEF-Reborn version

WGEF-Reborn version 2.1.5

Checklist

Anything else?

Thanks for continuing the project!

Invincibility flag breaks while using LWCX

Server Implementation

Paper

Server Version

1.17.1

Describe the bug

Invincibility flag stops working while using a combination of EssentialsX, LWCX, and WGEF reborn

To Reproduce

  • install WGEF Reborn, EssentialsX ,and LWCX
  • Start the server
  • Enter god mod and check Invincibility flag

Expected behaviour

Invincibility flag to work

Screenshots / Videos

No response

Error log (if applicable)

No response

WGEF-Reborn version

WGEF Reborn 2.1.9

Checklist

Anything else?

No response

(Console) commands on entry/exit do not fire for __global__ region

Server Implementation

Purpur

Server Version

1.18.1

Describe the bug

When adding a command-on-entry/exit to the global region, that command never fires. When adding the same command to any non-global region, the command fires as expected.

To Reproduce

  1. Add flag ex: /rg flag -w "world" global command-on-entry "say helloworld"
  2. Move into a different region or world
  3. Move back into the global region where the flag is defined
  4. Observe that the command does not fire

Expected behaviour

I expect that the behavior for the command on entry/exit flags would behave the same for global as any other region.

Screenshots / Videos

No response

Error log (if applicable)

No response

WGEF-Reborn version

2.6-stable+73c8022

Checklist

Anything else?

No response

Trees gets cut between owned/unowned regions

Server Implementation

Paper

Server Version

1.17.1

Describe the bug

When you plant saplings and let them grow, they will get cut at the border of the region (see Screenshot 1) and its expected to let it grow fully even otuside of the region (Screenshot 2)

To Reproduce

  1. Set flags in global as you want to deny players building there
  2. Create a region enough to plant a sapling next to the region's border and grow it.
  3. See it gets cut in half (missing leaves or logs) with the plugin WGEF-Reborn enabled.
  4. Remove the plugin and repeat the same steps (see screenshot 1)

Expected behaviour

Expected to see the tree fully grown despite it goes outside (intended with WG so no issues)

Screenshots / Videos

Expected: exhibit1

Notice the line and the dotted 1 and 2 denotes there's a region in the (2) marker which (1) has no region (aka global)

Result: exhibit 2

Notice the line and the dotted 1 and 2 denotes there's 2 regions beneath them, the player who reported me has access to both regions (We'Re using Landlord for claim management and it creates WG regions per chunk)

Error log (if applicable)

No response

WGEF-Reborn version

WGEF-Reborn version 2.2.0

Checklist

Anything else?

No response

Custom death message

What feature do you want to see added?

When a player dies of any reason in a area with this flag set, the custom death message is displayed.
Maybe have a first flag for game-caused deaths and another for player-caused deaths.

Are there any alternatives?

I don't see any

Anything else?

No response

FAWE error

Server Implementation

Paper

Server Version

1.17.1

Describe the bug

Loaded the lastest version of WGEF on my test server. Paper 1.17.1 version 349, essentials, worldedit 7.2.6 and worldguard 7.0.6. On loading up the server got the error below.

To Reproduce

load up a server without FAWE

Expected behaviour

clear startup

Screenshots / Videos

n/a

Error log (if applicable)

https://gist.github.com/cobrex1/759f861abb9dd93361e23036d6e1c104

WGEF-Reborn version

2.1.3

Checklist

Anything else?

nope

command-on-entry & command-on-exit doesnt work

Server Implementation

Purpur

Server Version

1.18.1

Describe the bug

the flags command-on-entry & command-on-exit doesnt work

To Reproduce

create a region with a command-on-entry & command-on-exit doesnt work flag and a command (like /warp pvp %username%)

Expected behaviour

.....

Screenshots / Videos

No response

Error log (if applicable)

No response

WGEF-Reborn version

WGEF-Reborn 2.3-stable+6cd8b68

Checklist

Anything else?

No response

Log Stripping Flag

What feature do you want to see added?

On my server, players are able to rent market stalls to sell their items. We allow them to place and break the blocks they've placed; however, we do not allow them to break the structure of the stall itself by setting a lower priority region to have block-break and block-place to deny. Inside the stall, there are logs that when the user becomes an owner of the market stall world guard region, they are unable to break the logs inside the stall, but they can strip the logs and break the stripped logs.

Adding an additional flag: strip-log would be a solution to this problem. This will allow us to set log stripping in the outer market region to deny and prevent inner stall region owners from stripping logs in their market stalls.

Are there any alternatives?

The alternative is already implemented, with other flags preventing players from stripping logs, but the problem becomes when a player is an owner of a higher priority region, they are allowed to strip the logs

Anything else?

No response

Factions Fly behavior issue

Server Implementation

Paper

Server Version

1.17.1

Describe the bug

To Reproduce

Expected behaviour

Screenshots / Videos

https://media.discordapp.net/attachments/896133453295280158/924252720439914526/2021-12-25_18-44-52.mp4

Error log (if applicable)

No response

WGEF-Reborn version

2.0.0

Checklist

Anything else?

No response

respawn-location flag

What feature do you want to see added?

Could you please bring the respawn-location flag from the original plugin back. The flag sets the players respawn location when inside a region. The flag was very useful for events and mini-games. Players could be respawned at specific locations for a great gaming experience.

Are there any alternatives?

I' m not aware of any alternatives.

Anything else?

No response

Add 1.16.5 support

What feature do you want to see added?

Support for 1.16.5 only java 16+

Are there any alternatives?

Anything else?

No response

Change Flag bypass behavior

What feature do you want to see added?

Change bypass behavior from permission based to bypass state provided by WorldGuard //bypass

Are there any alternatives?

Anything else?

No response

The keep-exp flag is not compatible with PerWorldInventory

Server Implementation

Paper

Server Version

1.17.1

Describe the bug

The keep-exp flag doesn't work together with the PerWorldInventory plugin. If you die in a corresponding region, the EXP are simply reseted. But if the flag keep-inventory is active at the same time, the EXP will also be restored.

To Reproduce

  1. Install Worldguard + WorldguardExtraFlags + PerWorldInventory
  2. Create a region.
  3. Set the the flag keep-exp to true for the region.
  4. Die inside the region -> you will lose your EXP
  5. Try it without PWI -> you will keep your EXP

Expected behaviour

In a region with kee-exp flag enabled, exp should be preserved on death even if perworldinventory is enabled.

Screenshots / Videos

No response

Error log (if applicable)

There are no errors in the log.

WGEF-Reborn version

WGEF-Reborn version 2.1.6

Checklist

Anything else?

PerWorldInventory 2.3.2 (https://github.com/EbonJaeger/perworldinventory-kt)
PWI config: https://pastebin.com/yfpPm43N
PWI world settings: https://pastebin.com/hMeGkixm

Since PerWorldInventory is a widely used inventory management plugin, it would be great if it would be compatible. Is this a bug that you can fix or does this issue need to be resolved on PerworldInventory's end?

Chat suffix and prefix papi support

What feature do you want to see added?

PAPI support for chat prefix and suffix.

Are there any alternatives?

No

Anything else?

No response

Error - could not pass event PlayerMoveEvent

Server Implementation

Paper

Server Version

1.17.1

Describe the bug

Ever since I started using the latest version 2.1.8, I regularly get the following errors in the log Could not pass event PlayerMoveEvent to WorldGuard v7.0.7-SNAPSHOT+2156-9b66513, filling hundreds of lines. Here is the full stacktrace: https://pastebin.com/zXtnka1s. I couldn't really pinpoint the cause in-game and no ingame errors were reported. But it spams quite a bit.

To Reproduce

  1. Use WorldGuardExtraFlags Reborn 2.1.8
  2. Play for a while and take a look at the log

Expected behaviour

No errors

Screenshots / Videos

No response

Error log (if applicable)

https://pastebin.com/zXtnka1s

WGEF-Reborn version

WGEF-Reborn version 2.1.8

Checklist

Anything else?

No response

Disable-collision doesn't work with Paper 1.19

Server Implementation

Paper

Server Version

1.18.1

Describe the bug

I know it is not yet supported, but the disable-collision flag doesn't do anything under Paper 1.19 with worldguard-bukkit-7.0.7-dist.jar.

To Reproduce

Use Paper 1.19 with worldguard-bukkit-7.0.7-dist.jar and try to "/rg flag region disable-collision true" and see it not working

Expected behaviour

To actually disable collisions.

Screenshots / Videos

No response

Error log (if applicable)

No response

WGEF-Reborn version

WGEF-Reborn version 2.6-stable+73c8022

Checklist

Anything else?

No response

Operators don't get night vision effect with give-effects flag

Server Implementation

Spigot

Server Version

1.18.1

Describe the bug

Operators don't get night vision because of the worldguard bypass permission they have. Maybe add a switch to the give-effects flag to affect OPs or not (if that's possible)?

To Reproduce

  1. make a region
  2. rg flag name give-effects night_vision
  3. stand in the region
  4. op and deop yourself and see

Expected behaviour

I want anyone to have night vision in the region, regardless of operator status

Screenshots / Videos

No response

Error log (if applicable)

No response

WGEF-Reborn version

WGEF-Reborn version 2.6-stable+73c8022

Checklist

Anything else?

nah

Request for a flags

What feature do you want to see added?

Please consider make a flags which automatically remove ground arrow/trident

Are there any alternatives?

no

Anything else?

no

Priority issues

Server Implementation

Paper

Server Version

1.18.1

Describe the bug

Flag calculator has issues with region priority.

To Reproduce

Expected behaviour

Screenshots / Videos

No response

Error log (if applicable)

No response

WGEF-Reborn version

2.6

Checklist

Anything else?

No response

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.