[INACTIVE][ADMN/TP] XcraftGate v0.9.1 - Multiworldmanager/-teleporter [1060-1185]

Discussion in 'Inactive/Unsupported Plugins' started by Engelier, Jun 4, 2011.

  1. Offline

    Engelier

    XcraftGate - Version: v0.9.1

    XcraftGate started as a replacement for EpicGates and it's successor RealTeleporter. In the meantime it has grown to a complete worldmanagement solution.

    Features:
    • Create/Delete new worlds (such as Nether, or a specific world for mining, or ...)
    • Set borders for your worlds, so nobody can explore beyond a specific point
    • Create Teleporters between your worlds or to/from your points of interest.
    • Limit the amount of creature spawns on your worlds
    • Completely deny monster or animal spawns on your worlds
    • Allow/Deny PvP on your worlds
    • Allow/Deny weather changes on your worlds


    Commands:
    • /gworld - World management tool
      Code:
      /gworld list - lists your active worlds
      /gworld info <worldname> - displays some basic info about a world
      /gworld listplayers <worldname> - lists the players currently running around in that world
      /gworld create <worldname> [environment [seed]] - creates a new world on your server, <environment> may be "normal", "nether" or "skylands". defaults to "normal" if left blank
      /gworld listenv - lists all available environments/chunkgenerators usable with /gworld create
      /gworld delete <worldname> - unloads a world (and deletes it from the plugin's database)
      /gworld load <wprödname> - loads a given world
      /gworld unload <worldname> - unloads a given world
      /gworld setsticky <worldname> - controls if a world will be automatically loaded/unloaded with dynamic world loading enabled
      /gworld keepspawninmemory <worldname> - controls if a world's spawn is always kept in memory
      /gworld warpto <worldname> - teleports you to the world <name>
      /gworld setborder <worldname> <#> - sets the border for world <name> to <#> (denies exploration beyond x/z +/- <#>)
      /gworld setcreaturelimit <worldname> <#> - limits creature spawns to a maximum of <#> creatures for the world
      /gworld allowanimals <worldname> <true|false> - Allows or denys animal spawns on world <name>
      /gworld allowmonsters <worldname> <true|false> - Allows or denys monster spawns on world <name>
      /gworld suppresshealthregain <worldname> <true|false> - Suppresses automatic health regaining when allowmonsters is set to false
      /gworld allowpvp <worldname> <true|false> - Allows or denys PvP combat on world <name>
      /gworld allowweatherchange <worldname> <true|false> - Allows or denys weather to change on world <name>
      /gworld setweather <worldname> <sun|storm> - Sets the current weather for world <name> (ignores allowWeatherChange setting)
      /gworld timefrozen <worldname> <true|false> - (Un)freezes the current time on world <name>
      /gworld settime <worldname> <sunrise|noon|sunset|midnight> - Sets the current time for world <name> (also sets time for timefrozen)
      
    • /gate - Gate management tool
      Code:
      /gate create <gatename> - creates a new teleportation point at your current position - make sure you look at the direction your users should look at, when they ARRIVE at this point
      /gate move <gatename> - moves a gates location to your current position
      /gate delete <gatename> - deletes a teleportation point
      /gate link <gatename1> <gatename2> - creates a link from <name1> to <name2>, so when you step on <name1> you will be teleported to <name2>
      /gate loop <gatename1> <gatename2> - same as /gate link, but for both ways
      /gate unlink <gatename> - deletes the destination for <name1>
      /gate unloop <gatename1> <gatename2> - deletes a loop between the two gates (if it exists)
      /gate info <gatename> - displays some basic info about a gate
      /gate list - lists all gates in all worlds in alphabetical order
      /gate listnear [radius] - lists all gates near you (radius defaults to 10, BE CAREFUL WITH BIG NUMBERS!)
      /gate listsolo - lists all gates without a source or destination
      /gate warp <gatename> - teleports you to the given teleportation point
      /gate reload - reloads all gates from gates.yml
      


    Video: HowTo create gates



    Permissions
    XcraftGate.* - permission to use everything this plugin provides

    XcraftGate.use.* - permission to use all gates
    XcraftGate.use.<gatename> - permission to use a gate

    XcraftGate.gate - access to /gate
    XcraftGate.gate.* - access to all /gate commands
    XcraftGate.gate.create - /gate create, /gate move
    XcraftGate.gate.link - /gate link, /gate loop
    XcraftGate.gate.unlink - /gate unlink, /gate unloop
    XcraftGate.gate.delete - /gate delete
    XcraftGate.gate.info - /gate listsolo, /gate list, /gate listnear, /gate info
    XcraftGate.gate.warp - /gate warp
    XcraftGate.gate.reload - /gate reload

    XcraftGate.world - access to /gworld
    XcraftGate.world.* - access to all /gworld commands
    XcraftGate.world.create - /gworld create
    XcraftGate.world.delete - /gworld delete
    XcraftGate.world.warp - /gworld warpto
    XcraftGate.world.setborder - /gworld setborder
    XcraftGate.world.setcreaturelimit - /gworld setcreaturelimit, /gworld allowanimals, /gworld allowmonsters, /gworld suppresshealthregain
    XcraftGate.world.pvp - /gworld allowpvp
    XcraftGate.world.weather - /gworld allowweatherchange, /gworld setweather
    XcraftGate.world.time - /gworld settime, /gworld timefrozen
    XcraftGate.world.info - /gworld info, /gworld list

    If you don't use a permissions plugin, only OPs are allowed to use those commands and all users are allowed to use all gates.


    Downloads:
    Stable Version (use this if unsure): XcraftGate.jar (wget friendly)

    Some people are repeatedly asking for development versions, so here it is:
    Development Version: XcraftGate-Dev.jar (wget friendly)
    I WILL NOT SUPPORT THE DEVELOPMENT VERSION! USE THIS AT YOUR OWN RISK AND DON'T COME CRYING IF IT EATS YOUR KITTEN BABYS!
    Development Changelog (open)

    • implemented chunk resending on teleport - should fix death/lag on arrival
    • rewrote plugin management
    • added Register support
    • added /gate rename <gate> <newname>
    • added /gate settoll <gate> <amount> - set amount of money to be taken from the users account when he uses the gate
    • added /gate setdenysilent <gate> <true|false> - don't print error messages when gate usage is denied by permission or not enough money
    • added /gworld suppresshunger - prevents foodbar depletion on the given world
    • added /gworld setspawn - sets the spawn to your current location
    • added /gworld setgamemode <world> <survival|creative> - sets gamemode for the world
    • added /gworld setdifficulty <world> <peaceful|easy|normal|hard> - sets difficulty for the world
    • added /gworld setannouncedeath <world> <true|false> - set if player deaths in the given world should be broadcasted
    • /gworld suppresshealthregain now also affects health regaining by saturation
    • new worlds now obey the spawn-monsters and spawn-animals settings in your server.properties
    • "fixed" bukkit leaking tears when not using SuperPerms



    Installation:
    Put the XcraftGate.jar into your plugins folder and reload/restart your server. All files will be created automatically.

    If you already have some extra worlds add them with /gworld create <name> <environment>. If there's already a world with the same name in your server's folder, it won't be freshly generated, but just get loaded.

    Do not edit the config files manually, as your changes will get overwritten on reload/restart. Use the ingame commands. Tell me when there's an option missing.


    FAQ:
    Is there a way I can clear the inventory of anyone entering a specific world? (open)

    Use MultiInv.

    Can we have something like /gworld allowflying? (open)

    No. This is a global setting controlled by craftbukkit. Plugins are not able to change that.

    How do I allow my users to use all gates? (open)

    Add the following permission to your users: XcraftGate.use.*


    Source Code:
    github (Licence: GPLv3)


    Donations:

    I put a lot of work into XcraftGate and intend to do so in the future. If you're able to efford some EUR to motivate me further, I'd really appreciate it :)
    Note: For sure donating is purely optional! XcraftGate is released under the terms of GPLv3, so you have (and will always have) the freedom to use, study, share and improve it as you like!
    [​IMG]


    Changelog:
    Version 0.9.1 (CB1060+)
    • fixed NPE in /gate listsolo
    • changed the way gates teleport players - should fix spawning to high
    Version 0.9 (CB1060)
    • enabled gworld-commands (except "warpto") to be used from the console
    • added support for SuperPerms
    • implemented dynamic world loading - on startup only your default
      world(s) will get loaded. Any other world will be loaded as soon as a
      player tries to access that world and will be unloaded when no player is
      active in that world for 5min. Disabled by default. This can be enabled/tweaked in the config.yml
      Please be aware of this bug when playing around with this feature.
    • added /gworld load
    • added /gworld unload
    • added /gworld setsticky (controls if a world will be automatically loaded/unloaded with dynamic world loading enabled)
    • added /gworld keepspawninmemory
    • implemented custom chunkgenerators (referred to as additional "environments") - currently available: flatlands, island, hillvalley
    • implemented getDefaultChunkGenerator(), enabling craftbukkit to use the custom ChunkGenerators for your default world(s)
      Example (open)

      in your bukkit.yml:
      Code:
         worlds:
             worldname:
                 generator: XcraftGate:FLATLANDS
         
    • added /gworld listenv - shows available environments
    • new worlds now obey the pvp-setting in server.properties
    Version 0.8
    • added seed argument to /gworld create
    • added /gate reload
    • added /gate move
    • added /gate info
    • added /gate list
    • added /gate listnear
    • added /gworld listplayers
    • added permissions for gates (XcraftGate.use.<gateName>)
    • worlds with active players cannot be deleted anymore
    • /gworld info now shows the environment
    • improved world detection
    • probably fixed ConcurrentModificationExceptions
    • probably fixed off-gate spawning (corresponding gates have to be recreated)
    • fixed animals always despawning on server reload/restart
    • another workaround for the PLAYER_MOVE event location bug (fixes players getting stuck when reaching the border)
    • fixed /gate warp triggering the target gate
    Older Changes (open)

    Version 0.7.2 (minimum CB-Version: 949, recommended: 953)
    • Update for CB953/MC1.7
    • Food working again as expected
    • added workaround for move-event location bug introduced in CB949 (fixes endless loops, again)
    Version 0.7.1
    • Great, seems using food also triggers the regain-health-event, so supresshealthregain will suppress that, too. Mostly fixed. Cookies still won't work. I've no better solution at the moment. :/
    Version 0.7 (minimum CB-Version: 896, recommended: 935)
    • added /gworld settime
    • added /gworld timefrozen
    • added /gworld suppresshealthregain - craftbukkit automagically let users regain health when allowmonsters is set to false. So we have to control this ourselfs.
      NOTE: XcraftGate automatically sets allowmonsters to false, when the creaturelimit is reached
    • removed "moved too quickly"-workaround
    • removed bukkit-bypass for spawncontrol
    • /gworld info now displays the world's seed
    • /gworld warpto now teleports you to the spawn location of the given world (no more searching for a safe spot in sky worlds)
    Version 0.6.2
    • made teleport check more restrictive (fixed endless loops)
    Version 0.6.1
    • fixed allowAnimals/-Monsters flag handling
    • added workaround for commands not being registered correctly by craftbukkit when being enabled by another plugin
    Version 0.6 (minimum CB-Version: 860)
    • rewrote world management - should fix most problems/inconsistencys
    • added /gworld allowpvp
    • added /gworld allowweatherchange
    • added /gworld setweather (ignores allowWeatherChange setting)
    • /gworld warpto now trys to find a save spot in a 64 block radius around the destination and denys teleport when unable to find one
    Version 0.5 (minimum CB-Version: 834)
    • check for creaturelimit regulary, instead on ENTITY_DEATH. Fixes creature counts dropping very low on low population servers
    • changes are now saved immediately, instead only in onDisable() (reload/restart)
    • added option to completely deny animals or monster spawns on a world
    • removed workaround for crossworld teleportation bug in CB818
    • unload world on /gworld delete
    • added support for SKYLANDS environment
    • complete permission nodes overhaul (s. above for the new permission nodes)
    Version 0.4.1
    • tweaked creatureLimit so the server doesn't try to spawn new creatures when the limit is reached (fixes "Can't keep up"-Spam)
    • typofix
    Version 0.4
    • added /gworld setcreaturelimit -- limits creature spawns
    • added /gworld info -- displays some basic info
    • border now defaults to 0 (disabled) instead of Integer.MAX_VALUE
    Version 0.3
    • public release
     
    regzand, Masterflapdrol and Rwembee like this.
  2. Offline

    khamseen_air

    @Engelier
    Hey I notice a lot of people mentioning that the allowmonsters command is not working to turn them off. I'm just curious as to why it would add them to a world that previously didn't have any. My bukkit config is set to not allow monsters and that worked on both world and world_nether. Yet as soon as we loaded this plugin to the server, we have monsters on both those worlds and they default to on with newly created worlds.
     
  3. Offline

    Engelier

    That's because those flags defaulted to "true" in XCG. Thanks for that notice. I just added the lines to use the settings in the server.properties-file as defaults.

    Also it seems the problem has magically disappeared .. at least I'm no longer able to reproduce it on my local CB1240-Server.


    @all:

    I put some work into XCG today. The result is v0.10 developer build 10 - available for download on dev.bukkit.org and as the Development Version (see first post). Please check it out and let me know if you encounter any bugs.
     
    khamseen_air likes this.
  4. Offline

    khamseen_air

    Always good to know I wasn't just doing something wrong haha. Somehow I managed to get rid of monsters on one of my newly created worlds... Or at least I couldn't see any whilst flying around. But can't get them to leave my World or World_nether.

    Shall download the new dev build and see how that goes. :)

    Edit: Or not... the dev link in the OP links to the same file as the normal link and the latest build on DevBukkit is from the 25th of September.

    Edit 2: Managed to edit the link and get the Dev build. So far I'm impressed and that's simply because monsters aren't roaming around on any of my worlds. :)
     
  5. Offline

    MrMArs

    Could you add a flatland seed?
     
  6. Offline

    Engelier

    Fixed OP. And new fileuploads on dev.bukkit.org need to be approved by the staff. It always takes some hours until those files show up for everyone.


    Aeh ... ? Besides you can already create flatlands with your own seed ... it makes no sense. Flatlands are always flatlands. There is no random factor :)

    On the other hand you might be asking it I could add a flatlands generator. I already did. Just use "flatlands" as the environment when creating a new world.
     
    khamseen_air likes this.
  7. Offline

    khamseen_air

    Ahh, I did not know that. Quite a pain having to wait for that eh.
    When I was testing it last night, I noticed in the latest dev build that my hunger bar wasn't draining, even though none of the worlds were set to stop it going down.
     
  8. Offline

    kelavin

    How can I load a world that is already created?
     
  9. Offline

    Rwembee

    @kelavin 7 down under /gworld .
     
  10. Offline

    kelavin

    Yeah, but it doesnt work. I just made a new world with gworld and replaced all its files with my world :p
     
  11. Offline

    Rwembee

    If it was a world created not with XCG, you probably needed to do a /gworld create worldname
     
  12. Offline

    Jon Cherwin

    Put the world folder into your server directory and then type in the command "/gworld create <worldname> normal"
     
  13. Offline

    Engelier

    Naah. "load" and "unload" are only for worlds XCG already knows about. Importing already created worlds is done with /gworld create.

    Maybe the "create" is too confusing there ... should i add an aliases like "/gworld add ..."?
     
  14. Offline

    GermanCrafter

    I get tons of these:
     
  15. I must thank you for such a great add on! Keep up the great work!

    With my short experience, I've come up with a couple suggestions.

    Setting the default <worldname> to the current world you are in for /gworld commands


    Also, possibly...
    Code:
    /gate rename <gatename>
    /gworld rename <worldname>
    
    (For some reason the ops on my server like to make my life difficult by using very obtuse names.)
     
  16. Offline

    khamseen_air

    After some more testing, if I enable hunger suppression, then disable it again, it seems to work as it should.
    However, my health regenerates even if my hunger bar is empty, which it shouldn't do.

    EDIT: Also, '/gworld create <name> skylands' gives me a normal world.
     
  17. Offline

    Taeir

    Your map got corruped. You need to make a new map, or try a backup.
    Did you just go from a vanilla server with an under vanilla generated map to craftbukkit? Then you can only run that map under vanilla minecraft (only without gui!). I had to delete my whole server and craftbukkit config to get it back to work with a new map. (btw. had nothing to do with this plugin.)
     
  18. Offline

    Rwembee

    @Engelier maybe "register" for an alias to create.
     
  19. Offline

    dannybtw

    i died in my flat world and now even with godmode i die on teleporting there even with /tp /gworld warpto and using the gate i die striahgt away
     
  20. Offline

    Axiz

    Every time I do a command it says ''An internal error occurred while attempting to perform this command''
     
  21. Offline

    Taeir

    I get a flickering screen as soon as i sleep in a world. I can stop it from flickering by setting the time back to night. How can i fix this?
     
  22. Offline

    grindle2000

    Hi first off I love your plugin ,that being said i have a question.

    Is it possible to have all your worlds load at the same time.

    I am using MobArena and for some reason my Arena world is loading after all the other plugins. My main world is loading fine right at the start ;but the world my Arena is in is loading at the very end of the load cycle so that MobArena is saying it cant find the world because it isnt loaded yet .

    I can work around this problem by reloading the MobArena plugin after everything is loaded up , but i was wondering if there was a way to force all the worlds to load at the same time at or near the beginning of the load cycle.

    I am using Bukkit 1240 and all the plugins are up to date.

    Thank you for all your help and a great plugin
     
  23. Offline

    Taeir

    The flickering screen was being caused by an essentials bug. It also happens without any other plugin.
     
  24. Offline

    dannybtw

    i died in my flat world and now even with godmode i die on teleporting there even with /tp /gworld warpto and using the gate i die striahgt away

    edit: happening on my pvp world too could death chest be interfearing or what?
     
  25. billiant plugin makes traveling around my world easier... however sometimes when i make the gates they bug out. ( uploaded a short video)
    >> video link <<
    please help :)
     
  26. Offline

    xxxfakaxxx

    upd to 1240 please
     
  27. Offline

    Rwembee

    @xxxfakaxxx is it not working for you or something? Just because the RB number goes up, doesn't make plugins auto break.
     
  28. Offline

    Yurikoma

    um yeah i can't change world anymore without my character becoming dead on arrival. even if i use /gworld warpto <worldname>
     
  29. Offline

    dannybtw

    same happening here but the developer aint helping us
     
  30. Offline

    grindle2000

    that is strange the plugin is still working for me and the people on my server with really no problems besides the worlds loading in strange orders
     
  31. Offline

    Yurikoma

    yeah atm. seems everyone on my server is having this problem. maybe there is a compatibility issue with spout or something (just saying that because it was working fine until recently) could also be NarrowtuxLib as it was also updated recently.

    list of my other plugins are as follows
    Show Spoiler

    AutoPlant
    BlockHat
    CartJump
    ChatClearer
    DropClear
    GameModeChanger
    godPowers
    iConomy
    Jail
    Labyrinth
    MagicSpells
    microOP
    MultiInv
    NarrowtuxLib
    NoLagg
    NoMovedTooQuicklyKick
    NoSpeedKick 0.3
    PermissionsBukkit
    Questioner
    SafeStop
    ServerEssentials
    serversave
    SideKick
    STAB
    SuperpermsBridge
    ThunderTower
    UnlimitedHealth
    WarpAllHere
    WaterproofRedstone
    WorldEdit
    XcraftGate
    Spout
    Towny
     

Share This Page