I need help automating WorldEdit commands

Discussion in 'Bukkit Help' started by Vorakh, Mar 22, 2020.

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

    Vorakh

    Hi! I have a problem with some commands, let me explain:

    I'm building a big cube, like an arena where players can fight using weapons, like CS:GO (using Quality Armory plugin), so before entering the arena, players must go through rooms that have 7 chests inside, varying from weapons, to armor and food. I need those chest to fill themselves every x minutes, because people are gonna be entering all day, so there always need to be stuff for them to take. I've tried using schematics with WorldEdit and it works great, //copy - /schem save - /schem load - //paste. The thing is I can't be running those commands all day, since I'm not online 24/7, also there are 10 rooms with 2 schematics per room, and I need them all to refresh at the same time.

    I've tried using command blocks with redstone repeaters but WorldEdit commands don't work with them(does nothing), I've also tried using plugins that send commands from console every x minutes, but WorldEdit also doesn't work with console(does nothing). I've tried using a virtual player to run those commands and have the command scheduler run the virtual player, but again, it doesn't work(does nothing). Does anyone have a suggestion? The arena is complete, I only need the chests to refresh and that's it.

    Here are the plugins I use on my server(1.13.2):
    ActionHealth
    Advanced-Portals
    AdvancedCraftingTable
    AutoMessager
    ChatColor2
    ChatFeelings
    Clearlag
    ClientStats
    ConsoleScheduler
    CoreProtect
    CraftDisplay
    GriefPrevention
    HolographicDisplays
    JustTPA
    orebfuscator
    PluginConstructorAPI
    PrivateChests
    ProtocolLib
    QualityArmory
    regionboard
    RPGLoot
    ServerRestorer
    SetHomes
    Shopkeepers
    SkinsRestorer
    Vault
    VirtualPlayers
    worldedit

    Any additional info you need, please ask. I'm very new to running servers, been running this one for less than two weeks, so I'm still learning. Hope you guys can help me, thank you in advance. :)
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Vorakh Have you thought of using an inifinite chest plugin?
     
  3. Offline

    Vorakh

    I did, but I'd rather have the chest refill, because being limited with weapons and bullets every x minutes is part of the game, to economize them as much as possible, although I guess I could use infinite chests if there's no other way around
     
Thread Status:
Not open for further replies.

Share This Page