Filled Limited space Creative maps per player

Discussion in 'Archived: Plugin Requests' started by Wounded_Fighter, Jun 3, 2013.

  1. Offline

    Wounded_Fighter

    EDIT
    I Scripted this using VariableTriggers...
    http://dev.bukkit.org/bukkit-plugin...cripts/54411-personal-creative-w-worldborder/



    theres probably a bunch of plugins that i could combine to use this, but i cant seem to find them... soo heres a go at this, maybe some of you have quick links to solves for this..

    Plugin category: world generator

    Suggested name: worldperplayer

    What I want: A generator that will run a command from console (This will be pulled from another program im running ingame to engage this for each individual player) ie: /wcreate (playername)creative, and it will create the world with a few set parameters from a config file such as:
    "distance-restrictions" so the world dosent grow too big for a single player. ie: 500x500 world.
    "mobs-disable" so mobs dont spawn
    "animals-disable" so animals dont spawn
    maybe ability to call cleanroomgenerator to make it a superflat world? for creative maps


    Ideas for commands: Console Commands only?
    wcreate (name)

    Ideas for permissions: no perms

    When I'd like it by: whenever is convenient for the devs.
     
  2. Online

    timtower Administrator Administrator Moderator

    Wounded_Fighter Is Plotme not right for you? You can change the size of the plots to your liking
     
  3. Offline

    Wounded_Fighter

    i want to have a "main map" like a creative lobby. and they click a sign or use a command and it teleports them to a "personal map, via console." I'd be using Variabletriggers to run that, so it can be private creatives.

    up

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  4. Offline

    Wounded_Fighter

  5. Offline

    Wounded_Fighter

  6. Offline

    Thej0y

    Just an idea like that: (i don't even know if this is possible... but everything might be possible!)

    Plotme + WorldBorder + a CommandBlock (or maybe a plugin...maybe i could try)

    1- Set plots the size you want the world to be.
    2- Stop/Trim the world and the end of the plot with WorldBorder
    3- use the command block to make plotme and worldborder create/trim the world if player dont have one,
    or just teleport to this world if player already have a plot.
     
  7. Offline

    Wounded_Fighter

    Ive done this, thus far... with VariableTriggers, multiverse, worldguard, and cleanroomgenerator but i havent coded in worldboarders yet... nobody knew the plugin name xD

    Code:
    Creative:
      Join:
        CoolDown: 0
        Script:
        - '@ADDINT $Join.<playername> 1'
        - '@IF i $Join.<playername> = 1'
        - '@PLAYER &4 Initiaing creation of your personal world...'
        - '@PLAYER &4 PLEASE DO NOT MOVE'
        - '@CMDCON mv create <playername>_creative normal -g CleanroomGenerator:7,stone,3,grass'
        - '@PAUSE 5'
        - '@CMDCON mv tp <playername> <playername>_creative'
        - '@PAUSE 1'
        - '@CMDCON tp <playername> 0 0 0'
        - '@PAUSE 1'
        - '@CMDOP mvm set Spawn'
        - '@PAUSE 1'
        - '@CMDOP mvm set gamemode creative'
        - '@PAUSE 1'
        - '@CMDOP mvm set monsters false'
        - '@PAUSE 1'
        - '@CMDOP mvm set animals false'
        - '@PAUSE 1'
        - '@CMDOP killall'
        - '@PAUSE 1'
        - '@CMDOP rg f __global__ lighter allow'
        - '@CMDOP rg f __global__ deny-spawn PIG, SQUID, ZOMBIE, WITHER, SPIDER, SPLASH_POTION,
          FIREBALL, MAGMA_CUBE, PIG_ZOMBIE, MUSHROOM_COW, WOLF, COW, SNOWBALL, CAVE_SPIDER,
          ENDERMAN, BAT, OCELOT, WITCH, GIANT, SLIME, SILVERFISH, CHICKEN, ENDER_DRAGON,
          SNOWMAN, GHAST, SMALL_FIREBALL, BLAZE, CREEPER, IRON_GOLEM, SKELETON, SHEEP'
        - '@PLAYER &2 Welcome to your personal Creative area'
        - '@PLAYER &2 WorldEdit has been enabled for ease of building.'
        - '@PLAYER &2 //we help.'
        - '@ELSE'
        - '@CMDCON mv tp <playername> <playername>_creative'
        - '@CMDOP mvconfirm'
        - '@PLAYER &2 Welcome to your personal Creative area'
        - '@ENDIF'
    
     
  8. Offline

    45zeldafan

    VariableTriggers is NOT coding. It is a SCRIPTING plugin. Also I use it on my server :p


    Also, you are doing the script after @IF wrong...
     
  9. Offline

    Wounded_Fighter

    How is it wrong?
     
  10. Offline

    45zeldafan

    Fixed version of what you posted...

    Code:
    Creative:
      Join:
        CoolDown: 0
        Script:
        - '@ADDINT $Join.<playername> 1'
        - '@IF i $Join.<playername> = 1'
        - '  [USER=6564]Player[/USER] Initiaing creation of your personal world...'
        - '  [USER=6564]Player[/USER] &4 PLEASE DO NOT MOVE'
        - '  @CMDCON mv create <playername>_creative normal -g CleanroomGenerator:7,stone,3,grass'
        - '  @PAUSE 5'
        - '  @CMDCON mv tp <playername> <playername>_creative'
        - '  @PAUSE 1'
        - '  @CMDCON tp <playername> 0 0 0'
        - '  @PAUSE 1'
        - '  @CMDOP mvm set Spawn'
        - '  @PAUSE 1'
        - '  @CMDOP mvm set gamemode creative'
        - '  @PAUSE 1'
        - '  @CMDOP mvm set monsters false'
        - '  @PAUSE 1'
        - '  @CMDOP mvm set animals false'
        - '  @PAUSE 1'
        - '  @CMDOP killall'
        - '  @PAUSE 1'
        - '  @CMDOP rg f __global__ lighter allow'
        - '  @CMDOP rg f __global__ deny-spawn PIG, SQUID, ZOMBIE, WITHER, SPIDER, SPLASH_POTION,
          FIREBALL, MAGMA_CUBE, PIG_ZOMBIE, MUSHROOM_COW, WOLF, COW, SNOWBALL, CAVE_SPIDER,
          ENDERMAN, BAT, OCELOT, WITCH, GIANT, SLIME, SILVERFISH, CHICKEN, ENDER_DRAGON,
          SNOWMAN, GHAST, SMALL_FIREBALL, BLAZE, CREEPER, IRON_GOLEM, SKELETON, SHEEP'
        - '  [USER=6564]Player[/USER] &2 Welcome to your personal Creative area'
        - '  [USER=6564]Player[/USER] &2 WorldEdit has been enabled for ease of building.'
        - '  [USER=6564]Player[/USER] &2 //we help.'
        - '@ELSE'
        - '  @CMDCON mv tp <playername> <playername>_creative'
        - '  @CMDOP mvconfirm'
        - '  [USER=6564]Player[/USER] &2 Welcome to your personal Creative area'
        - '@ENDIF'
    

    Bukkit decided to be stupid so you will have to replace all of the
    Code:
    [USER=6564]Player[/USER]
    with the @ player yourself no space in caps
     
  11. Offline

    Wounded_Fighter

  12. Offline

    45zeldafan

    I was trying to tell you that your spacing was off in your script you posted....
     
  13. Offline

    Wounded_Fighter

  14. Offline

    45zeldafan

  15. Offline

    Wounded_Fighter

    Ive been using it for 6 months ;) also thats how long my server has even existed. lol (mostly cause i dont know java.. =( )
    Ive had 17 players run this script errorlessly with using spigot (KNOWN to have issues with VT)
     
  16. Offline

    45zeldafan

    Mhmm ok well its your server, but expect bugs in future with your script:p
     
  17. Offline

    Wounded_Fighter

    (this can be proven :p )
    If you (space/tree) out far enough using any of the trigger.yml's (not a .script.yml since they are only Loaded into memory and not referred to unless /vt reloadscripts) It will automaticly adjust the spacing back to the original spot.
     

Share This Page