HomeJavaModsRPGRegions v1
RPGRegions v1
ModsJava

RPGRegions v1

Join our discord! RPGRegions is a plugin that allows players to ‘discover’ WorldGuard regions. You can reward them with XP and items for their exploration…

⬇ Download on Spigot
Join our discord! https://discord.gg/fh62mxU
[​IMG]
RPGRegions is a plugin that allows players to ‘discover’ WorldGuard regions. You can reward them with XP and items for their exploration - and have a cool sound and message pop up. There’s also a sweet GUI (/discoveries) which shows all of your discoveries so far, and when you found them.

MySQL has been added in v1.0.8-RELEASE.

[​IMG]

First, you will need to install WorldGuard and WorldEdit, after that installation is easy. Just download the .jar via the blue download button near the top of this page, drop the .jar into your plugins folder, restart the server, and you're all done!

If you have any issues then report them on the issues page, not in the review section.

[​IMG]
[​IMG]
For a list of sounds, visit https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html.

For a list of items, visit https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html.

Code (Text):
Tasks:
  Region:
    Interval: 200
    Valid_Regions:
    - Spawn
    - test
    - a
Sounds:
  Region:
    Discover: ENTITY_PLAYER_LEVELUP
Messages:
  Region:
    Enabled: true
    Discovered: '&aYou have discovered {region}!'
    Discovered_Title: '&a{region} discovered.'
    Discovered_Subtitle: '&fContinue exploring to discover more!'
    Format: dd/MM/yyyy HH:mm
Rewards:
  Region:
    Experience: 10
    Item:
      Type: DIAMOND
      Amount: 2
      Name: Diamond
      Lore:
      - A special kind of diamond.
      - Might have special powers.
Commands:
  Region:
    Enabled: true
    Command: me just discovered a region!
[​IMG]
upload_2018-1-2_13-19-19.png
upload_2018-1-2_13-20-0.png
upload_2018-1-2_13-20-29.png
upload_2018-1-2_13-20-43.png
upload_2018-1-6_16-26-18.png
upload_2018-1-6_16-26-50.png

upload_2018-1-2_13-22-3.png
A small developer API is available for the plugin. Currently, only two events exist but this is likely to expand.
Spoiler: RegionDiscoverEvent
Code (Text):

    @EventHandler
   public void onDiscover(RegionDiscoverEvent rde)
   {
       Discovery d = rde.getDiscovery();
       Player p = d.getPlayer();
       String date = d.getTimeOfDiscovery();
       ItemStack item = d.getGivenItem();
       ProtectedRegion region = d.getRegion();
        //do stuff
   }
 

Spoiler: RegionUnDiscoverEvent
Code (Text):

    @EventHandler
    public void onUnDiscover(RegionUnDiscoverEvent rude)
    {
        Discovery d = rude.getDiscovery();
        Player p = d.getPlayer();
        ProtectedRegion r = d.getRegion();
        String date = d.getTimeOfDiscovery();
 
    }
 

Support or Contact

Having trouble with RPGRegions? Check out our documentation, our website page, or contact support and we’ll help you sort it out.

License

By using or downloading this plugin (RPGRegions) you are bound to this license;

Spoiler: License
MIT License


Copyright (c) 2018 Sam


Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Created by and maintained by IslandEarth.
[​IMG]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

RPGRegions v1 is a free Minecraft Java mod. Compatible with Minecraft 1.13. Downloaded 1,703 times (via Spigot). Download it and open it directly in the game.

Explore more