Restarting my whole server...

Discussion in 'Bukkit Help' started by PiguFilms, Mar 17, 2014.

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

    PiguFilms

    Hey!
    Well, i would like to restart my whole server.. By that i mean like players that had factions, they wont.. They would have to start ALL OVER AGAIN!

    Now the reason for that, is because i have a plugin that i installed(Hub Essentials), and players wont get the default items(server selector, etc). Only new players, and if they are somewhere and rejoin, they will stay in their last position, and not at spawn..

    Please tell me how to do this... Thanks

    Tim
     
  2. Offline

    murdox1221

    Can you please post a plugin list for your server?
    Also when you say reset, you want your server brand new, correct?
     
  3. Offline

    lecraeman

    What plugins do you have installed?

    Also, Are you saying you want it reset to where it acts like players have NEVER been on the server before, even if they have?
     
  4. Offline

    PiguFilms

    lecraeman Yep :D

    Murdox

    Plugins:
    AncientGates
    AntiCheat
    BarAPI
    BossMessage
    ClearLag
    ColorMe
    CraftBukkitUpDoDate
    DisguiseCraft
    Enjin Minecraft Plugin
    Essentials
    Factions
    FirstJoinPlus
    Frame Protector
    GameModeInventories
    GroupManager
    Heads
    HeavySPleef
    HiveJumpPads
    HolographicDisplays
    HubEssentials <---------------------------
    Kits
    Lockette
    MultiInv
    Multiverse-Core
    NameTags
    NametagEdit
    PlayerVaults
    PlayTime
    PlotMe
    PluginMetrics
    ProtocolLib
    Punishmental
    RewardVoting
    ScheduleAnnouncer2
    ServerHub
    SparkTrail
    SurvivalGames
    TagAPI
    TimTheEnchanter
    TuxTwoLib
    Vault
    Votifier
    WorldBorder
    WorldEdit
    WorldGuard
    aAntiSpam
    iControlU
    mcMMO
    mcore

    That is all :p
     
  5. Offline

    Murdox

    So I will cover what I am familiar with, assuming you want to make it like no one has ever been on the map.

    Essentials- Remove Essentials/userdata This removes invo's,enderchest, money ect
    Factions- Remove mstore/factions_uplayer@defult This removes factions info.
    McMMO- Not 100% sure, never reset this. But I believe its mcmmo.users


    Now with WG we always removed all the regions, but thats up to you, if you do there is a file called Regions in the WG folder.

    Now is the world you want to reset your main world, or one you made with MV?
     
  6. Offline

    PiguFilms

    Murdox Well, you see i have a plugin called HubEssentials.. And i want players, when spawned, to get items(hid players, server selector, etc), but i can't do that because they need to be players that have never joined before. So basically, the main world(spawn) would like to be reset. I had a builder made the spawn, so i dont know... I think it was not with mv...
     
  7. Offline

    LandonTheGeek

    PiguFilms
    So you are saying that every time you basically would need to reset the players' userdata to let them have the items in the plugin every time they log on?
     
  8. Offline

    Murdox

    If thats all you want, wiping Ess/Userdata would do it. Their invos/eco/and ender chest would be lost too. But to the system it would be as if they never logged in.
     
  9. Offline

    PiguFilms

    HelpfulBeast Nope... You reset them once, and they have them forever...It's how the plugin works
     
  10. Offline

    LandonTheGeek

    He could always search for a new plugin to do the task better.
     
  11. Offline

    PiguFilms

  12. Offline

    LandonTheGeek

    PiguFilms
    A plugin that does the same thing, but better, so you don't have to go in and reset everything by yourself.
     
  13. Offline

    PiguFilms

    HelpfulBeast Be a Helpful Beast(xD) and please list one or two plugins :D
    Thanks
     
  14. Offline

    Necrodoom

    PiguFilms Murdox HelpfulBeast Essentials does not store what you said. It stores entirely other data, for essentials purposes. What you need is the world player.dat files.
     
    drtshock likes this.
  15. Offline

    PiguFilms

    Last edited by a moderator: Jun 7, 2016
  16. Offline

    lecraeman

    UPDATE: Read further down. I forgot I also deleted my world ;)

    Ok, I really don't know about this, but when I refresh my server map...I reset all my players.

    I do it by deleting the Essentials user Data, but Necrodoom says that doesn't effect it?

    Maybe I am wrong, but it works for me...
     
  17. Offline

    PiguFilms

  18. Offline

    Necrodoom

    lecraeman That cant be possible. It doesnt store any inventory information nor it does set the location of player.
     
  19. Offline

    Zarko

  20. Offline

    PiguFilms

  21. Offline

    Sycholic

    Hmmm reading up on this thread some reason 'hardcore' mode is comming to mind but not in the sense the server running hardcore but only the players are set to as such. Albiet this likely wont be what you want... the problem is plugins save data in so many places its impossible to track consistently... If ALL player data was stored in one 'single' location then this could be feasible... but tracking a unknown list of files from unknown sources to delete it is kinda asking the impossible. I was thinking of triggering upon player disconnect a HC death but its unlikely that all plugins are coded to know what to do when that happens. I dunno if this is a possible way to look into this since my HC experience is purely on personal single player servers and when you die on that the world itself is poof never tried playing with HC while on a bukkit server.
     
  22. Offline

    PiguFilms

    Sycholic English Please xD.. No really, how am i supposed to do this? If you can, add me on skype: PiguFilms
     
  23. Offline

    lecraeman


    Yeah that is my bad xD

    I forget I almost always delete my world when resetting my players. IT IS NOT controlled by essentials, but you will want to delete that as well so they don't keep their homes and such...


    Ok, Here is how I do it...

    1. Delete your essentials user information. This will reset their homes, and make it seem like they've never been on...it will also spawn them at the spawn you set.
    2. Delete the factions.json file(This may be named differently, I am on an OLDER version of factions).
    3. Go into your default worlds folder(Mine would be "World")and delete the "Players" folder and it will reset all their information.

    This should completely reset all your players...If you have any more plugins that store information(Like mcMMO or a creative inventory plugin)you will need to reset those too!

    Hope this helped...if it didn't tell me!

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

    PiguFilms

    lecraeman Do i have to delete all the "PLayers" folder from all of my worlds?
     
  25. Offline

    lecraeman


    Not really sure. I am assuming that it would only be the DEFAULT world that players first spawn in...

    The inventories aren't separate for each world, and when I last reset I only deleted ONE world and it reset their inventories.

    You could do it, and then if it doesn't work...delete it from ALL worlds...Let me know how it goes!
     
  26. Offline

    Sycholic

    Unless you had a plugin to track all pertinent player data there shouldnt be any way this is possible other then what I suggest below, but so Im getting the your request right.

    Upon disconnecting, you want each player wiped out... simple as that. Not the world... but just the player so when they relog in they start 'all over again' correct?

    If you mean just the world, copy the seed, wipe out all player data files in plugins, then wipe out the world folders and have the seed in the server.properties file to generate the same identical world...

    if you just want to basically reset the whole world so everyone is new but its still saving the world as is. then I doubt its possible... because you arent going to be able to erase all player data and when they reconnect I cant even say what would happen... only because I cant say objects that have player data in them can be removed that simply unlike just cleaning out the 'player' folder.

    But... if you had every pluging with some kind of /delete <player> you could script it to get real dang close, I mean your server still going to be running so deleting files unless this is a offline full wipe like above methods would require.. this is why I say its improbable.
     
  27. Offline

    TheDarkLord197

    Well, You could always install Multiverse Inventories, And perworldplugins, To make the hub plugin not work in other worlds, And so that they don't always have those items and only in spawn.
     
  28. Offline

    PiguFilms

    I am really having a hard time thinking on what should i do... :/ ... I just want to make players like they have never been on the server..
     
  29. Offline

    Sycholic

    I cant say this is going to be 100% bug free but if I was going to try it...

    ./bin/<worldfolders>/players rename to players.orig
    make new players folder
    ./bin/<worldfolders>/stats rename to stats.orig
    make new stat folder
    ./bin/plugins/ rename to plugins.orig
    make new plugins folder, copy all plugins over.
    boot server have it make all new config files for plugins.
    shutdown
    copy your original ./plugins configurations files saved in plugins.orig into the new folder this gives you a quick list of fresh install files and what are created later for player data. (tricky!) so you just compare folders and only copy and overwrite what files exist only in the new fresh plugin files.
    done...

    Now like I said I dunno how much of a issue this might be just doing only just that but thats the basic steps if I did. I rename the folders not wipe them out this way incase it all goes to hell I can just remove the new ones I made and rename the .orig's back to original and that gets me out of 99.99% of problems
     
  30. Offline

    PiguFilms

    Sycholic I will TRY TO ATTEMPT to do that.. I MEAN REALLY TRY TO ATTEMPT. I think i am going to fail, cause i got lost when you said "(tricky!) so you..."
     
Thread Status:
Not open for further replies.

Share This Page