Spigot ✅ Resource World ✅ ~ Never run out of Resources ! (MUST HAVE!) 1.9.4

⋙ Don't let your Wilderness get depleted, Set up an Automatically resetting Resource World. ⋘

  1. So I would need to:

    0. Turn off Server
    1. Add updated plugin
    2. Start the server at 12:00 (for example)
    3. Thereafter all future intervals are based on this initial beginning server start time?
     
  2. Exactly, turn it off. set the intervals of ur choice and simply start the server.

    If your server shuts down while the interval is running (or reloads) it'll store the remaining time in the data file. not reset it back to 1 hour (example)
     
  3. Let's say u set the interval for 1 hour, if ur server shuts down 30 mins later. once it starts up it'll continue to 30 minutes
     
  4. Is there any way to control the "interval" schedule other than the initial server restart?

    at the moment I have it set to every 12hrs and players used Server Uptime to determine when the restarts are; so it was a very consistent "on the hour" type of setup.

    Lets say I do my restart and it goes live at 4:02pm, what would be my options if I wanted to make it exactly (or near exactly) 4:00pm without trying another restart 12hrs later?
     
  5. I'm not sure that's possible (or maybe i'm just confused of your question because i've been coding so much today;p)
     
  6. x) Sorry I'll reword it (y)

    _______________
    I'm currently using v1.4.5; so my resource world resets based on my server start time.
    My interval is set to 12 hours:
    upload_2020-4-27_16-21-50.png

    Because it is based on server uptime; my players know that the resource world reset 5h 8m and 41 seconds ago AND will reset when the hour placeholder strikes "12hr"

    Now I also have a current time placeholder but if I update the plugin; I would need to communicate to players when the interval is;

    If I want resets to be at 4:00pm PST exactly, my server has to start exactly at 4:00pm PST, but that could take multiple tries if I do that manually; so what options do I have for modifying the interval?

    Or could we have an option to revert back to intervals based on server start time?

    /// EDIT:

    I really like the idea of having the interval save between restarts, but I'm more so interested in having a consistent schedule; I use PlaceholderAPI so if there was a placeholder that counted down to a reset that would be great and deals with most of these concerns of mine ^ ^

    Thanks for making the plugin btw!
     
  7. Yes i can add an option like that on the next update if you'd like.
     
    • Like Like x 1
  8. Either that, Or i'll add PlaceholderAPI and MVdWPlaceholder Support^^
     
    • Like Like x 1
  9. Either sounds great ^ ^
     
  10. nikv2 updated ✅ Resource World ✅ ~ Never run out of Resources ! (FREE) with a new update entry:

    Small Changes

    Read the rest of this update entry...
     
  11. how to set Multiple Worlds?
     
  12. If you look in the config explained section, You can see that there's multiple world options.

    world:

    world_nether:

    world_the_end:

    Simply enable these worlds, set them up and you're good to go
     
  13. It means the name of options is customable?
     
  14. You can have an overworld, nether, and end_world. Pick the ones you want to generate on startup, Modify the settings and simply run your server. You can also change the name of the world. There is an option on the config for that
     
  15. Here's an example config.

    In this case i enable all the worlds and i set the intervals to:

    World resets every 4 hours
    Nether every 7 hours
    End every 10 hours

    Code (YAML):
    settings:
      check_for_updates
    : true
        # When a Resource World Reset happens, The plugin will Automatically Teleport all players
        # To the Spawn point of the World below. (Use the World where your Server's Spawn is)
        main_spawn_world
    : world
    world
    :
      settings
    :
    # World Settings.
      enabled
    : true
      # World Name must NOT be: world , world_nether , world_the_end
        world_name
    : resource_world
        generate_structures
    : true
        # Available World Types: NORMAL , FLAT , LARGE_BIOMES , AMPLIFIED.
        world_type
    : NORMAL
        # Available Environments: NORMAL , NETHER , THE_END.
        environment
    : NORMAL
        # Would you like the Resource World to use a Seed of your choice?
        custom_seed
    :
          enabled
    : false
          seed
    : -686298914
          # Would you like the Resource World to have a Custom World Border?
        world_border
    :
          enabled
    : true
          size
    : 4500
          # Choose whether or not you wan't PvP to be enabled inside the Resource World.
        allow_pvp
    : true
        always_day
    : true
        disable_suffocation_damage
    : true
        disable_drowning_damage
    : true
        # Options: EASY , NORMAL , HARD , PEACEFUL.
        difficulty
    : NORMAL
        # Should the Resource World auto Generate chunks around the main Spawn Area? (Not Recommended)
        keep_spawn_loaded
    : false
        # Would you like to allow Rain , Snow , Thunderstorms inside the Resource World?
        weather_storms
    : true
        # Would you like the Resource World to Automatically Reset?
        automated_resets
    :
          enabled
    : true
          # The Interval between Resource World Resets. (In Hours)
          interval
    : 4
          # Do you wan't the plugin to store the remaining reset time once the server shuts down? and use the remaining time once it starts up again?
          store_time_on_shutdown
    : true
        disable_entity_spawning
    : true
        # Entity Spawning Settings, Higher values = More mobs.
        entities
    :
          max_animals
    : 45
          max_monsters
    : 35
          max_ambient_entities
    : 5
        # Would you like specific Blocks to regenerate after being broken by a player?
        block_regeneration
    :
          enabled
    : true
          # Delay is in Minutes
          regeneration_delay
    : 30
          blocks
    :
        - DIAMOND_ORE
          - GOLD_ORE
          - EMERALD_ORE
          - COAL_ORE
          - IRON_ORE
          - LAPIS_ORE

    nether_world
    :
      settings
    :
        enabled
    : true
        world_name
    : resource_nether
        portals
    :
          # Would you like to sync your portals with the Resource Worlds?
            # For example if a player goes into a Nether Portal he'll get to the
            # Nether Resource World instead of the default one
            override
    : false
            # If you're running 1.8 - 1.13 You should put the world where you wan't your players to be teleported to After they enter a Nether Portal inside the Nether. (Ignore if you're running 1.14 +)
            # Makes Portal Location Behavior work simularly to the Vanilla one
            vanilla_portal_ratio
    : false
            portal_world
    : world
        world_border
    :
          enabled
    : true
          size
    : 4500
        allow_pvp
    : true
        disable_suffocation_damage
    : true
        difficulty
    : NORMAL
        keep_inventory_on_death
    : false
        keep_spawn_loaded
    : false
        automated_resets
    :
          enabled
    : true
          interval
    : 7
       disable_entity_spawning
    : false
        entities
    :
          max_monsters
    : 35

    end_world
    :
      settings
    :
        enabled
    : true
        world_name
    : resource_end
        portals
    :
          # Would you like to sync your portals with the Resource Worlds?
            # For example if a player goes into a Nether Portal he'll get to the
            # Nether Resource World instead of the default one
            override
    : false
            # If you're running 1.8 - 1.13 You should put the world where you wan't your players to be teleported to After they enter a Nether Portal inside the Nether. (Ignore if you're running 1.14 +)
            portal_world
    : world
        world_border
    :
          enabled
    : true
          size
    : 4500
        allow_pvp
    : true
        disable_suffocation_damage
    : true
        difficulty
    : NORMAL
        keep_inventory_on_death
    : false
        keep_spawn_loaded
    : false
        automated_resets
    :
          enabled
    : true
          interval
    : 10
        disable_entity_spawning
    : false
        entities
    :
          max_monsters
    : 35

    teleport
    :
      settings
    :
    # Teleport Settings
      # When a player uses the Teleport command, The plugin automatically checks and ensures that the player
      # Is going to get Teleported to a Safe Location, I would suggest putting a Medium - High Cooldown interval.
      # (Interval is in Seconds, So by default: 1 Minute)
        cooldown
    : 60
        delay
    : 3
        # The maximum X, Z The player will be teleported, DO NOT Set this value higher than your World Border.
        max_teleport_range
    : 800
        load_chunk_before_teleporting
    : true
        # Teleport Effects
        # This effect will be given to the player right after teleporting, To ensure he's going to have a safe
        # Teleportation. Available Effects: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
        effects
    :
          effect
    : ABSORPTION
          duration
    : 7
          amplifier
    : 2
        # Would you like it to play a sound after a player Teleports to the
        # Resource World?
        sounds
    :
          enabled
    : false
          # You should pick a sound that exists on your server's version API
          # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
          sound
    : ENTITY_ENDERMAN_TELEPORT
          # I wouldn't suggest setting these values higher than the default ones
          volume
    : 1
          pitch
    : 1
    disabled_commands
    :
      enabled
    : true
      commands
    :
    # Commands listed below will be Disabled if they're executed inside the Resource World.
      - /sethome
      - /claim
      - /setwarp
      - /tpahere
     
  16. nikv2 updated ✅ Resource World ✅ ~ Never run out of Resources ! (FREE) with a new update entry:

    Improvements

    Read the rest of this update entry...
     
  17. Has anyone had the issue on this latest version that when they type any of the commands (even if at operator level permissions) (/rw, /resource, or /resourceworld it just returns to the player /resource in white letters). I cant seem to figure out what the deal is...
    [​IMG]