HomeJavaModsASkyGrid
ASkyGrid
A SkyGrid
This is the free version of this plugin.


[​IMG]
Story
You find yourself marooned on a block in a sky of other blocks. Is this hell? Or heaven? Don't fall!

Features
Challenges GUI
[​IMG]


Here is the challenges.yml file.
Spoiler: challenges.yml
Code (Text):
##########################################################################################
# Challenges
# Rewards and required items have to be described using Bukkit Materials
# and be exactly correct
# Do not use Type Id's - they will not work
# Challenges can be one of three types - inventory, island or level.
# inventory - means the player must have the items on them
# collect - means the items have to be within 10 blocks of the player
#           entities are also supported, e.g., COW.
# Challenges can be repeatable only if they are inventory challenges.
# Permissions can be given as a reward and commands can be run to give other rewards.
#
# Reward Commands - commands can be run when a challenge is completed and repeated
# Commands are:
#    rewardcommands:
#      - command1
#      - command2
#    repeatrewardcommands:
#      - command1
#      - command2
# The commands are listed and run in order. Do not put a / in front of the command.
# The token [player] will be replaced with the player's name.
# Example:
#    rewardcommands:
#      - pex promote [player]
#      - heal [player]
#      - warp winner_circle [player]
# If a command fails, it will be noted in the console. Commands are run as console.
#
# The format for POTIONS is as follows:
#
# Format POTION:NAME:<LEVEL>:<EXTENDED/NOTEXTENDED>:<SPLASH/NOSPLASH>:QTY
# LEVEL, EXTENDED and SPLASH are optional. If they are left blank, any is acceptable
# LEVEL is a number, normally 1 or 2
# Examples:
# POTION:STRENGTH:1:EXTENDED:SPLASH:1
# POTION:JUMP:2:NOTEXTENDED:NOSPLASH:1
# POTION:WEAKNESS::::1   -  any weakness potion
#
# Valid potion names are:
# WATER, REGEN, SPEED, FIRE_RESISTANCE, POISON, INSTANT_HEAL, NIGHT_VISION, WEAKNESS,
# STRENGTH, SLOWNESS, JUMP, INSTANT_DAMAGE, WATER_BREATHING, INVISIBILITY
#
##########################################################################################

challenges:
  # Challenge levels - list as many as you like. If a challenge's level is '' it can
  # be done anytime.
  levels: 'Newbie Jumper Acrobat'

  # The number of undone tasks that can be left on a level before unlocking next level
  waiveramount: 1

  # This section determines what happens when a player unlocks a new level
  # The subname should correspond to the levels listed above
  # Note that there is no section for the first level as it is automatically unlocked
  levelUnlock:
    Jumper:
      # What additional message to send player
      message: 'Congratulations - you unlocked the &9Jumper level!'
      rewardDesc: 'A diamond!'
      itemReward: 'DIAMOND:1'
      moneyReward: 100
      expReward: 100
      # List permissions separated by spaces
      permissionReward: ''
      # Commands to run on this player. Use [player] for their name.
      commands:
      #- kit tools [player]
      #- some other command
    Acrobat:
      # What additional message to send player
      message: 'Congratulations - you unlocked the &aAcrobat level!'
      rewardDesc: '3 diamonds!'
      itemReward: 'DIAMOND:3'
      moneyReward: 100
      expReward: 100
      permissionReward: ''
      # Commands to run on this player. Use [player] for their name.
      commands:
      #- kit tools [player]
      #- some other command
  # Challenge list
  # Challenge names must be in lowercase.
  challengeList:
    lavafinder:
      friendlyname: 'Lava Finder'
      description: 'Create a bucket of lava'
      icon: LAVA_BUCKET
      level: 'Newbie'
      type: inventory
      requiredItems: 'LAVA_BUCKET:1'
      # You can require the player has a certain amount of money for inventory challenges.
      # Remember to mention it in the description!
      # If takeItems is true, the money will be removed, so you may want to give it
      # back in the reward.
      #requiredMoney: 10
      takeItems: true
      itemReward: ''
      rewardText: 'A irritating stick'
      rewardcommands:
      - "give [player] stick 1 0 {display:{Name:\"Irritating Stick\"},ench:[{id:16,lvl:5},{id:19,lvl:2}]}"
      moneyReward: 10
      expReward: 30
      permissionReward: ''
      repeatable: true
      repeatItemReward: 'OBSIDIAN:3'
      repeatRewardText: '3 blocks of obsidian!'
      repeatMoneyReward: 5
      repeatExpReward: 10
      #repeatrewardcommands:
      # Max times limits how many times a challenge can be done. Comment out to make unlimited
      maxtimes: 20
    sheepfinder:
      friendlyname: 'BaaBaa'
      description: 'Find a sheep!'
      icon: WOOL:4
      level: 'Newbie'
      type: collect
      requiredItems: 'SHEEP:1'
      # You can require the player has a certain amount of money for inventory challenges.
      # Remember to mention it in the description!
      # If takeItems is true, the money will be removed, so you may want to give it
      # back in the reward.
      #requiredMoney: 10
      takeItems: false
      itemReward: 'SHEARS:1'
      rewardText: 'A pair of shears!'
      #rewardcommands:
      #- kit tools [player]
      moneyReward: 10
      expReward: 40
      permissionReward: ''
      repeatable: false
    pigfinder:
      friendlyname: 'Oink'
      description: 'Find a pig!'
      icon: GRILLED_PORK
      level: 'Newbie'
      type: collect
      requiredItems: 'PIG:1'
      # You can require the player has a certain amount of money for inventory challenges.
      # Remember to mention it in the description!
      # If takeItems is true, the money will be removed, so you may want to give it
      # back in the reward.
      #requiredMoney: 10
      takeItems: true
      itemReward: ''
      rewardText: 'The Fishing Rod of Destiny!'
      rewardcommands:
      - "give [player] rod 1 0 {display:{Name:\"Rod of Destiny\"},ench:[{id:61,lvl:5},{id:62,lvl:2}]}"
      moneyReward: 10
      expReward: 40
      permissionReward: ''
      repeatable: false
    fleshseller:
      friendlyname: 'Flesh seller'
      description: 'Sell your zombie flesh! 32 pieces required'
      icon: ROTTEN_FLESH
      level: 'Newbie'
      type: inventory
      requiredItems: 'ROTTEN_FLESH:32'
      takeItems: true
      itemReward: 'EMERALD:1'
      rewardText: '1 Emerald!'
      moneyReward: 0
      expReward: 0
      permissionReward: ''
      repeatable: true
      repeatItemReward: ''
      repeatRewardText: ''
      repeatMoneyReward: 10
      repeatExpReward: 0
      maxtimes: 100
    bombmaker:
      friendlyname: 'Bomb Maker'
      description: 'Collect 10 blocks of TNT'
      icon: TNT
      level: 'Newbie'
      type: inventory
      requiredItems: 'TNT:10'
      takeItems: true
      itemReward: 'INK_SACK:3:1 MILK_BUCKET:1 COAL:1 FURNACE:1'
      rewardText: 'Hot cocoa mix'
      moneyReward: 20
      expReward: 20
      permissionReward: ''
      repeatable: true
      maxtimes: 10
    homestead:
      friendlyname: 'Homestead'
      description: 'Build a house that contains at least 1 oak door, bed, bookshelf, crafting table, furnace, glass-block window, and torch.'
      icon: BED
      level: 'Jumper'
      type: collect
      requiredItems: 'BED_BLOCK:1 WORKBENCH:1 GLASS:1 WOODEN_DOOR:1 FURNACE:1 BOOKSHELF:1 TORCH:1'
      takeItems: false
      itemReward: 'JUKEBOX:1 RECORD_12:1 LAPIS_BLOCK:10'
      rewardText: '1 jukebox, 1 music disk, 10 lapis lazuli blocks'
      moneyReward: 100
      expReward: 100
      permissionReward: ''
      repeatable: false
      repeatItemReward: ''
      repeatRewardText: ''
      repeatMoneyReward: 0
      repeatExpReward: 0
    nether:
      friendlyname: 'Nether'
      description: 'Build a nether portal and activate it.'
      icon: NETHERRACK
      level: 'Jumper'
      type: collect
      requiredItems: 'OBSIDIAN:10 PORTAL:1'
      takeItems: false
      itemReward: 'DIAMOND_SWORD:1'
      rewardText: '1 diamond sword'
      moneyReward: 100
      expReward: 100
      permissionReward: ''
      repeatable: false
      repeatItemReward: ''
      repeatRewardText: ''
      repeatMoneyReward: 0
      repeatExpReward: 0
    fisherman:
      friendlyname: '&aFisherman'
      description: 'Catch &b5 Raw Fish, &b5 Raw &bSalmon, &b3 Pufferfish &6and &b1 Clownfish'
      level: 'Jumper'
      type: inventory
      requiredItems: 'RAW_FISH:0:5 RAW_FISH:1:5 RAW_FISH:3:3 RAW_FISH:2:1'
      repeatable: true
      maxtimes: 10
      icon: 349
      takeItems: true
      rewardText: 1 disk and 10 lapis lazuli
      itemReward: 'RECORD_12:1 INK_SACK:4:10'
      permissionReward: ''
      moneyReward: 50
      expReward: 50
      repeatRewardText: 2 redstone, 2 inksac
      repeatItemReward: 'REDSTONE:2 INK_SACK:4:2'
      repeatMoneyReward: 25
      repeatExpReward: 25
    slimefarmer:
      friendlyname: '&aSlime Farmer'
      description: 'Collect &b32 Slimeballs &6from slimes'
      level: 'Jumper'
      type: inventory
      requiredItems: 'SLIME_BALL:32'
      repeatable: false
      icon: SLIME_BALL
      takeItems: true
      rewardText: 4 slime blocks, 1 emerald
      itemReward: 'SLIME_BLOCK:4 EMERALD:1'
      permissionReward: ''
      moneyReward: 70
      expReward: 70
      repeatRewardText: 1 redstone ore, 1 emerald
      repeatItemReward: 'REDSTONE_ORE:1 EMERALD:1'
      repeatMoneyReward: 35
      repeatExpReward: 35
    ittakesavillage:
      friendlyname: 'Run For Mayor'
      description: 'Hold a village meeting with &610 villagers!'
      icon: STONE
      level: 'Acrobat'
      type: collect
      requiredItems: 'VILLAGER:10'
      takeItems: false
      itemReward: 'HOPPER:4'
      rewardText: '4 hoppers'
      moneyReward: 300
      expReward: 300
      permissionReward: ''
      repeatable: false
      repeatItemReward: ''
      repeatRewardText: ''
      repeatMoneyReward: 0
      repeatExpReward: 0
    myprecious:
      friendlyname: 'My Precious'
      description: 'Build an &6iron golem'
      icon: NAME_TAG
      level: 'Acrobat'
      type: collect
      requiredItems: 'IRON_GOLEM:1'
      takeItems: false
      itemReward: 'NAME_TAG:1 ANVIL:1 CAULDRON_ITEM:1 IRON_BLOCK:2'
      rewardText: 'A name tag, an anvil, a cauldron and 2 iron blocks'
      moneyReward: 300
      expReward: 300
      permissionReward: ''
      repeatable: false
      repeatItemReward: ''
      repeatRewardText: ''
      repeatMoneyReward: 0
      repeatExpReward: 0
    snowplay:
      friendlyname: 'Snow Play!'
      description: 'Build a &6snow golem'
      icon: SNOW_BALL
      level: 'Acrobat'
      type: collect
      requiredItems: 'SNOWMAN:1'
      takeItems: false
      itemReward: 'ELYTRA:1'
      rewardText: 'Elytra! Fly baby, fly!'
      moneyReward: 300
      expReward: 300
      permissionReward: ''
      repeatable: false
      repeatItemReward: ''
      repeatRewardText: ''
      repeatMoneyReward: 0
      repeatExpReward: 0
    itsaparty:
      friendlyname: "Nervous truce"
      description: 'Get close to 3 other players'
      icon: PUMPKIN_PIE
      level: 'Newbie'
      type: collect
      requiredItems: 'PLAYER:4'
      takeItems: false
      itemReward: 'EMERALD:6 PUMPKIN_PIE:6'
      rewardText: '6 Emeralds, 6 pumpkin pies'
      moneyReward: 200
      expReward: 200
      permissionReward: ''
      repeatable: false
      repeatItemReward: ''
      repeatRewardText: ''
      repeatMoneyReward: 0
      repeatExpReward: 0
    itsamonsterparty:
      friendlyname: "It's a Monster Party"
      description: 'Have a party - all monsters invited! Get close to a Skeleton, Zombie, Spider, Creeper and Enderman all at the same time.'
      icon: SKULL_ITEM
      level: 'Acrobat'
      type: collect
      requiredItems: 'SKELETON:1 ZOMBIE:1 SPIDER:1 CREEPER:1 ENDERMAN:1'
      takeItems: false
      itemReward: 'SKULL_ITEM:0:2 SKULL_ITEM:2:2 SKULL_ITEM:3:2'
      rewardText: 'Skulls!'
      moneyReward: 200
      expReward: 400
      permissionReward: ''
      repeatable: false
      repeatItemReward: ''
      repeatRewardText: ''
      repeatMoneyReward: 0
      repeatExpReward: 0

Welcome Warp Signs allow every player to make one warp with a sign. The GUI shows player's heads and allows advertising of the location!
[​IMG]


Set Up and Installation
Compatibility: 1.9 upwards only

Required Plugins
• Vault - make sure you are running the latest version !

Recommended Plugins
• MultiverseCore - so you can manage multiple worlds

Installation and Configuration
For upgrading, see release notes.
  1. Download the plugin (ASkyGrid.jar) and Vault
  2. Place both into your plugins folder
  3. Restart your server
  4. Log in and type /asg to start your adventure!
  5. Type /asgc to see challenges
Config.yml
Here is the config.yml:
Spoiler: config.yml
Code (Text):
#############################################################################
# Config for ASkyGid
##############################################################################

general:
   # Grid height - max is 256
   gridheight: 128

   # Spawn height - height where players will spawn. Can be less than the grid height
   spawnheight: 128

   # Name of the world - if it does not exist then it will be generated
   worldName: ASkyGrid
   # Create a Grid Nether - if this is false, the nether grid world will not be made
   createnether: true

   # distance around 0,0 where players can spawn
   # Example, 1000 will randomly spawn players between -1000,-1000 to 1000, 1000
   distance: 1000

   # Banned commands - these commands cannot be run by players in the world
   # Bypass by Op or with the askygrid.mod.bannedcommands permission
   # The spawner command should be banned otherwise chaos will ensue!
   bannedcommands:
   - spawner

   # Remove mobs - this kills all monsters in the vicinity when the player logs in.
   loginremovemobs: false

   # Remove mobs when /asg.
   gridremovemobs: false

   # Mob white list - these mobs will NOT be removed when logging in or doing /asg
   # Options are: Blaze, Cave_Spider, Creeper, Enderman, Endermite, Giant, Guardian,
   # Pig_Zombie, Silverfish, Skeleton, Spider, Witch, Wither, Zombie
   mobwhitelist:
   - Wither
   - Enderman
   - Pig_Zombie

   # Sets the limit for number of monsters that can spawn in a chunk in this world.
   # Note: this does not limit the number of monsters, just how many spawn naturally.
   # Note: If set to a negative number the world will use the server-wide spawn limit instead.
   # Max is 100
   monsterspawnlimit: 70

   # Sets the limit for number of animals that can spawn in a chunk in this world.
   # Note: If set to a negative number the world will use the server-wide spawn limit instead.
   # Max is 100
   animalspawnlimit: 15

   # Sets the limit for number of water animals [squid] that can spawn in a chunk in this world.
   # Note: If set to a negative number the world will use the server-wide spawn limit instead.
   # Max is 100
   wateranimalspawnlimit: 15

   ##### Economy ######
   # Use economy or not. If true, an economy plugin is required. If false,
   # no money is used or given by challenges.
   # If there is no economy plugin present anyway, money will be automatically
   # disabled.
   useeconomy: true

   # Reset Money - if this is true, will reset the player's money to
   # the starting money (see below) when they start.
   # Recommendation is that this is set to true, but if you run multi-worlds
   # make sure your economy handles multi-worlds too.
   resetmoney: false

   # Starting money - this is how much money new players will have as their
   # balance at the start.
   startingmoney: 0

   # Reset Ender Chest - if true, the player's Ender Chest will be cleared when they
   # start ASkyGrid. Default is false.
   # NOTE: Ender Chests span worlds, so it will clear ALL chests. In general,
   # Enderchests should not be allowed in ASkyGrid unless you only run the ASkyGrid
   # world.
   resetenderchest: false

   # Broadcast 1st time challenge completion messages to all players.
   # Change to false if the spam becomes too much.
   broadcastmessages: true

   # Allow /island teleport when falling. If set to false, all teleporting is
   # disabled until death from the void or until you hit something.
   # See commands that this will block too.
   allowfallingteleport: true
   blockingcommands:
   - home
   #- anotherCommand
   #- andAnotherOne

   # Remove non-repeatable challenges from the challenge GUI when complete
   removecompleteonetimechallenges: false

   # Add enchanted glow to completed challenges (does not work with all clients)
   # Also currently adds an "enchanted" line of text...
   addcompletedglow: true

   # Default maximum number of homes a player can have. Min = 1
   # Accessed via sethome <number> or go <number>
   # Use this permission to set for specific user groups: askyblock.island.maxhomes.<number>
   maxhomes: 1

   # Warp panel - GUI for welcome warp signs. If set to false, old-style
   # text will be used
   usewarppanel: true

   # Mute death messages
   mutedeathmessages: false

   # Config.yml version. DO NOT EDIT. This number only changes if the latest
   # plugin config has been updated. If a new config is detected, it will be
   # auto-saved to config.new.yml.
   version: ${version}

# List blocks. If the material cannot be placed, bedrock will be used.
world:
   blocks:
     BOOKSHELF: 3
     BROWN_MUSHROOM: 2
     CACTUS: 10
     CHEST: 1
     CLAY: 2
     COAL_ORE: 20
     DEAD_BUSH: 3
     DIAMOND_ORE: 1
     DIRT: 10
     DOUBLE_PLANT: 10
     GLASS: 1
     GOLD_ORE: 10
     GRASS: 60
     GRAVEL: 10
     IRON_ORE: 20
     LAPIS_ORE: 5
     LEAVES: 30
     LOG: 40
     LONG_GRASS: 10
     MELON: 5
     MOB_SPAWNER: 2
     MOSSY_COBBLESTONE: 5
     MYCEL: 15
     OBSIDIAN: 5
     PISTON_BASE: 1
     PISTON_STICKY_BASE: 1
     PUMPKIN: 5
     PRISMARINE: 1
     RED_ROSE: 10
     RED_MUSHROOM: 2
     REDSTONE_ORE: 8
     SAND: 20
     SANDSTONE: 10
     SEA_LANTERN: 1
     SNOW_BLOCK: 8
     STATIONARY_LAVA: 5
     STATIONARY_WATER: 10
     STONE: 120
     SUGAR_CANE_BLOCK: 5
     TNT: 2
     WEB: 10
     WOOL: 25
     YELLOW_FLOWER: 2
   netherblocks:
   # Beware with glowstone and lava - the lighting calcs will lag the
   # server badly if there are too many blocks.
     STATIONARY_LAVA: 5
     GRAVEL: 30
     MOB_SPAWNER: 2
     CHEST: 1
     NETHERRACK: 300
     SOUL_SAND: 100
     GLOWSTONE: 1
     NETHER_BRICK: 30
     NETHER_FENCE: 10
     NETHER_BRICK_STAIRS: 15
     NETHER_WARTS: 30
     QUARTZ_ORE: 15

Admin Tips
Some recommendations to improve game play:

• If players want to own claims, install a claim protection plugin.


FAQ

This section will be updated over time.

Q. Where do players warp to at the start?
A. It is random. Admins can set the area in the config.

Q. Is there any kind of protection?
A. Yes, the area around a warp sign provides protection (requires WorldGuard). This is optional.

Commands
Player Commands

Do /asg help in the game to see a full set of commands.

• /asg – warps you to the grid world
• /asg help - shows help text
• /asg go <number> - teleport to a numbered island home
• /asg sethome <number> - sets a numbered home point, up to the max the server allows
• /asg warps - Lists warps that are available via Welcome Warp Signs
• /asg warp <name> - warps to a Welcome Warp Sign. The full name does not have to by typed in (just the first few letters)

Challenges Command
• /asgc - Shows the GUI for challenges available to the player.

Admin Commands
Access via /asgadmin command.

Console And Game Available Commands
• /asgadmin reload - reloads all the configuration files. Use this if you have edited the .yml files.
• /asgadmin completechallenge <challengename> <player> - completes an individual challenge for a player
• /asgadmin resetchallenge <challengename> <player> - resets a challenge for a player
• /asgadmin resetallchallenges <player> - clears all challenges for a player
• /asgadmin info <player> - Displays info on a player and their challenges

Game-only command

• /asgadmin tp <player> - Teleport to a player's home location
• /asdadmin sethome <player> - Sets the player’s home to your location

Permissions
Code (Text):

permissions:
  askygrid.*:
    children:
      askygrid.player.*:
        children:
          askygrid.player.create:
            description: Let the player use the /skygrid command
            default: true
          askygrid.player.sethome:
            description: Let the player set their skygrid teleport point
            default: true
          askygrid.player.challenges:
            description: Let the player use the /challenges command
            default: true
          askygrid.player.warp:
            description: Let the player use /skygrid warp to warp to a players skygrid
            default: true
          askygrid.player.addwarp:
            description: Let the player place a Welcome warp sign
            default: true
      askygrid.mod.*:
        children:
          askygrid.mod.bannedcommands:
            decription: Let a moderator use banned commands
            default: false
          askygrid.mod.info:
            description: Let a moderator see info on a player
            default: op
          askygrid.mod.challenges:
            description: Let a moderator access challenge commands
            default: op
          askygrid.mod.sethome:
            description: Allows setting of a player's home position
            default: op
          askygrid.mod.tp:
            description: Allows teleport to a player's home position
            default: op
      askygrid.admin.*:
        children:
          askygrid.admin.reload:
            description: Reload the config.yml
            default: op
 
Welcome Warp Signs
Welcome Warp Signs are an easy way for players to make warps. Each player can generate only one warp. They create a warp by placing a sign with the first line [WELCOME] on it. If the warp creation is successful, that line will become green. If there is a problem, it will become red.

[If you want Welcome Warp Signs for other worlds or just as a stand alone plugin - download it here ]

Warps are listed under /asg warps and are the player's name. Players can warp by typing /asg warp <name of warp>.

To destroy or remove a warp, the player should destroy or remove the sign.

The other lines on the sign can say anything the player wants.

The safety of a warp is checked to a certain extent, but it's possible for players to create traps with warp signs. This may or may not be okay with the server admin, but can be interpreted as being part of the game.

Languages
Admins can edit the locale.yml file to change strings in the game.

Stats Disclosure
This plugin utilizes a plugin metrics system, which means that the following information is collected and sent to mcstats.org:

• A unique identifier
• The server's version of Java
• Whether the server is in offline or online mode
• The plugin's version
• The server's version
• The OS version/name and architecture
• The core count for the CPU
• The number of players online
• The Metrics version

Visit mcstats.org if you would like to learn more about the stats collected. Go into /plugins/PluginMetrics/config.yml to disable stat collecting if you wish.

Problems or New Feature Ideas?

Post your ideas. Purchasers will be given priority in all bug fixing and new feature development.

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.

ASkyGrid is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11. Downloaded 1,932 times (via Spigot). Download it and open it directly in the game.

Explore more