Overview
Yet Another World Protector (YAWP) is the admin tool to protect your minecraft server!
It allows you to protect your creations against various different events/actions of players, mobs and the environment. It was inspired by the forge mod WorldProtector and the WorldGuard plugin.
Join our discord if you have any questions or suggestions: YAWP Discord
The mod is currently in its beta state, with many features not yet implemented but to come. These features will include most of the things you know from WorldProtector and WorldGuard.
This mod will be released for Minecraft versions 1.16.5+. If you are living in the past and are looking for a version for Minecraft 1.12.2, I suggest looking into using WorldDefender.
- Pagination for more easy management of flags, players, regions, etc.
- Region CLI
In YAWP there are different kinds of regions to protect your server: Dimensional Regions and normal, local Regions. Dimensional Regions are special regions which are tied to one dimension - like gamerule-flags for different dimensions - and normal, local Regions do have a spatial property which they are limited to.
The properties of regions, flags, affiliation, etc. can all be managed through an interactive CLI. The colored texts indicate shortcuts for easier region management. Clicking on them gives the player a suggestion for executing a command or sometimes straight execute the command which is hinted by the hover text.
Local Regions
With Local Regions you are able to define areas in your world, which you want to protect from certain actions/events which are caused by players, other entities or the environment. You are able to define separate owners and members for owners by assigning vanilla teams and specific players to the region.
The area can be defined (and changed) in different geometric shapes. ~~E.g. Cuboid, Sphere and more to come.~~ For now limited to Cuboid shape.
Furthermore, a region can have child regions and a parent region, which are considered with their corresponding flags. They also have a priority to manage overlapping regions.
Dimensional Regions
Dimensional Regions have no spatial restrictions. Dimensional Regions work like normal regions, but are tied to a dimension. They can have owners, members, flags and can be activated and deactivated.
Dimensional Regions can not be created manually. They are in fact automatically generated with each new dimension. The first Dimensional Region for the overworld is created when the server is created. The following Dimensional Regions are created whenever a player travels to a new dimension, thus creating the new dimension with their respective Dimensional Region.
Dimensional Regions can be managed only by their owners, or by players which have the required OP level or have an entry in the configuration. For more information, visit the wiki.
Regions can have owners and normal members. Owners are allowed to manage the region and bypass the flags, members are only allowed to bypass the flags set in the region.
Owners/Members can be individual players or a team.
These affiliations allow you to create regions and assign players as their owners. They can then manage their regions themselves and add other players to them, as well as create their own sub-regions within their regions.
If you have trouble with setting up regions, visit the discord for help.
There are more granular features planned for region affiliation in the future - each affiliation with different permissions.
You can add rules to Dimensional or Local Regions with flags. If the flag is defined, it prevents the defined action associated with the flag. See the Flags page for more details about the different flags.
There will be more complex flags in the future, like conditional flags, flags to define a list of allowed blocks/entities/items/... and much more.
The commands of the interactive CLI are also designed to be used by the server console and can be executed by command blocks. This allows you to automate region setups, add/remove players, enable or disable regions, etc.
The client side installation of the mod supports Internationalization for german, english and russian.
If your language is not yet supported, feel free to reach out to me via discord or issue a pull request via github! :)
The configuration of the mod allows you to control which is allowed to use the mod, sets default flags for Local and Dimension Regions, command line interface options, etc.
The documentation of the mod is still small but growing, and I am trying to keep up with the content.
The documentation covers
- descriptions of different regions
- available commands
- available flags
- configuration
- ..
If something is not covered feel free to hop on our discord server and ask your question there. :)
Roadmap
There are many more features to come. The mod is in active development! Checkout the roadmap!
The following list is not comprehensive. Features marked with an * are already partly implemented, but not yet available in the beta:
- Regions with different shapes (Cylinder, Prism, 3DPolygon)*
- Region templates for easier managing same regions with different spatial properties
- Different flag (Conditional, List, ...) types*
- Region triggers for entering/leaving a region (for displaying messages, executing commands, etc)*
- Define your own region affiliation for more granular management of regions*
- More granular permission system (combined with the more granular affiliation features)
- API to manage regions for other mods
- Events for common regions actions (e.g. creating, deleting regions, adding owners, etc)
- ...
Hello, this is some awesome looking mod :) I'm building an RPG server with friends and we are using it for many various things. I would like to ask if you roughly know the timeframe for following features:
- API (so I can create a custom NPC that can query child regions and see which one does not have owner assigned, and present that to player so he can buy the land, or remove it if he wants to sell it)
- displaying message when entering region (letting players know when they are entering village or city, etc)
- polygon shape region
Region templates also sounds cool since we got like 20-30 plots per village/city, but we managed that with using ~ ~ ~ while creating them so only had to change name in command :).
Hey there!
Glad you like the mod and great you are putting it to good use. :)
It is hard for me to give estimations for these features. I am currently finishing the port for YAWP Fabric - this should be done roughly by the end of the week. After that I will decide what to implement next.
You are asking at a great time for the upcoming features. I am currently running a poll at the YAWP discord server (until the 15th of March) to decide which feature to implement next. Visit the server and leave your vote! :)
Best regards
Z0rdak
In reply to z0rdak:
Ur nuts, Keep up with good work man!
Have this on my forge mc server with over 200 mods.
Havent published my modpack yet but will eventually.
This is just a MUST have to protect the server or all things necesery.
Gj man!
Thank you for your kind words.
I am glad you like it!
version: 1.19.2-0.0.2.5-beta4
Hi, I'm trying to figure out how this mod works. Perhaps I'm missing some parts of the wiki, but it's difficult to determine where to start. The lack of ingame info/error messages doesn't help either. So I thought I'd start with defining a region in the overworld (spawn).
Is there a "getting started" guide that I could follow?
Hey there.
Thanks for including your version number.
There is a wiki which covers the basics: https://github.com/Z0rdak/Yet-Another-World-Protector/wiki/Commands#creating-a-local-region
You are obviously missing the permission to manage any regions. You'll need to adjust the configuration to get started: https://github.com/Z0rdak/Yet-Another-World-Protector/wiki/Server-Config#common-config
Specifically: Give yourself OP and adjust the
command_op_level
OR add your UUID toplayers_with_permission
config.How to is stated in the wiki, but I think I will put it into a dedicated Getting Started Section - thanks for the feedback.
Hope this helps. If you need any further help, let me know. Also feel free to join the discord. I am more active there than here. :)
Best regards Z0rdak
The Getting Started Section: https://github.com/Z0rdak/Yet-Another-World-Protector/wiki/Getting-started
In reply to z0rdak:
Wow! That's some speedy response!. Thanks for the extra info. I actually was looking for the toml but I forgot that winscp doesn't really refresh the folders automatically**. Anyways, I'll have another go after the changes are in effect.
Version: 1.19.2-0.0.2.4-beta4
Each dim needs the invincible flag added to be able to take damage, is this intended? Should i just add [invincible] to default dim flags?
Hey there!
No, this is not intended. It's most likely something that I missed in the last update.
I will fix it asap and upload a new version.
Edit: Until then, just add the flag as a workaround to be able to play normally.
-
I just released a fix to solve this problem. Hope it helps.
Best regards!
In reply to z0rdak:
Definitely worked, thank you! Quick question, is there a flag for "keepinventory"? Would work nicely for pvp arenas.
Not yet.
But I ensure you, it is on my list!
I am currently working on porting the mod to fabric. After that I will continue to add flags/features.
Best regards!
Hello. I don't know if this is because it's still in development or because of some error. Whenever I use the commands I get weird text feedback. Instead of showing the feedback as it does on your screenshot of the mod it shows this. If this is due to some error is there a way to fix this?
Edit:
Nevermind, I figured it out. I realized that since I didn't have it installed on my client it didn't have any language files to load. After installing it on my client it worked as intended. Found out about this after reading more about the mod on the github page.
Glad you solved your problem! Yes, I think I need to add a hint for this somewhere else.
Alternatively, you could also use the language file as a resource pack and add it to your server. I am providing the resource packs on the discord server for now. I am thinking about creating a GitHub link or an extra resource pack page here on curseforge just for the language files.
Best regards
Glad you solved your problem! Yes, I think I need to add a hint for this somewhere else.
Alternatively, you could also use the language file as a resource pack and add it to your server. I am providing the resource packs on the discord server for now. I am thinking about creating a GitHub link or an extra resource pack page here on curseforge just for the language files.
Best regards
hi I was wondering if there is a option where players cant hit frames? im running custom cit packs used with invisible frames.
Hey, there is an extra flag for this: break-entities.
Because item frames are technically tile entities, the break block-flag does not prevent players from destroying them.
There is a config option, with a list of tile entities which are protected by this flag.
Feel free to stop by at our discord server if you have any further questions! I am more active there than here. :)
Best regards.
In reply to z0rdak:
awesome!