RPGRegions v1.1.0-RELEASE

Create WorldGuard regions that can be discoverable by players!

  1. SamB440
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Source Code:
    https://gitlab.com/SamB440/RPGRegions
    Languages Supported:
    All (Requires manual edits)
    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.

    If you are using 1.8:
    You must change the sound in the config.yml to a 1.8 sound for the plugin to work correctly. For a list of 1.8 sounds, visit http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html.
    [​IMG]
    • - /rpgregions === Description: Default command. Permission: None.
    • - /rpgregions reload === Description: Reload the plugin. Permission: OP.
    • - /rpgregions remove <discovery> === Description: Remove a discovery. Permission: RPGRegions.removediscovery
    • - /discoveries === Description: View all of your discoveries. Permission: RPGRegions.Discoveries
    • - /rpgregions addregion <region> === Description: Adds the region specified in the third arg to the config. Permission: RPGRegions.addregion
    • - /rpgregions removeregion <region> === Description: Removes the region specified in the third arg to the config. Permission: RPGRegions.removeregion
    • - /rpgregions description <region> <description> === Description: Edit a regions description. Permission: RPGRegions.description
    • For a user to see undiscovered regions in the Discoveries GUI, use RPGRegions.seeundiscovered
    • For a user to see a discovered regions x y z coords, use RPGRegions.showloc
    [​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.
    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
       }
     

    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;

    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]
    YAGI and Jinxed like this.

Recent Updates

  1. New commands
  2. MySQL update
  3. Messages & Commands

Recent Reviews

  1. Ender_Griefeur99
    Ender_Griefeur99
    5/5,
    Version: v1.0.7-BETA
    This plugin is very good plz can you add a support for disable the item reward thx
    1. SamB440
      Author's Response
      Hey, just set the item amount to 0. Thanks for the review!
  2. KazMNF
    KazMNF
    5/5,
    Version: v1.0.7-BETA
    Very helpful dev. And quick fix bugs.
    Im using this plugin on my Walking Dead Server :)
    1. SamB440
      Author's Response
      Thanks for the review. I am glad I could help :)
  3. vip123bmt2001
    vip123bmt2001
    5/5,
    Version: v1.0.0-SNAPSHOT
    I love this plugin very much .............................
    :D :D :D :D :D 5 starts
    1. SamB440
      Author's Response
      Thank you for the review :)