Question Give money to all players in an area

Discussion in 'Bukkit Help' started by White_King, Nov 15, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    White_King

    I'm looking to a way to attract people in my server to an area (I want players to want to be in an specific area), I have some ideas but either they are very difficult and some may be impossible; but the easiest was, just reward people for being in the area at some point of the day... like give money to everyone (that is connected and) at the area every 2 hours or so.

    This seems it could be easy with command blocks or maybe an specific plugin but I can't figure it out :S.
    Can someone help me?

    As a reference these are the Spigot/Bukkit plugins I'm already using:
    • MobHunting
      • Essentials
        • Vault
    • Trade
    • Residence
    • Warp Books
    • ShopChest
    • Anti-Creeper
    • SkinsRestorer
    • PermissionsEx
    • MyCommand
    • Holograms
     
  2. Offline

    Zombie_Striker

    @White_King
    Try the following:
    1. Download PsudoCommands. With it, you can add base-game selectors to commands added by plugins.
    2. Find the location that player's should be close to.
    3. Set up a command block that will run the command /psudo <command-to-give-money>, but instead of providing a player's name, use @a[r=<the radius>] to get all the player's within that radius.
    4. Then just set up the clock to last 2 hours.
     
    White_King likes this.
  3. Offline

    White_King

    Working on it although, you think I will be able to create an schedule for it? like every 5 hours for example... and...
    Amm.. do you (or anyone ) know how to delete all beds in the server? (Same purpose)
     
Thread Status:
Not open for further replies.

Share This Page