Cells arent saving on server restart

Discussion in 'Requests' started by Brant, Jul 21, 2019.

  1. Brant

    Brant Witch

    Messages:
    51
    GitHub:
    tetroyt
    im using this CellPE plugin from poggit and everything with it works except for cells dont save when the server restarts even if i type /save-all 3 times they still dont save, can someone fix this? the developer of the plugin has gone inactive it was last updated by him over a month ago

    https://poggit.pmmp.io/ci/Crypt97/CellPE/CellPE
     
  2. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,632
    GitHub:
    HimbeersaftLP
    You mean the blocks or the cells as the ones manages by the plugin?
     
  3. Brant

    Brant Witch

    Messages:
    51
    GitHub:
    tetroyt
    i mean the area you have created you select 2 positions and that is the area of the cell
     
  4. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,632
    GitHub:
    HimbeersaftLP
    Save-all just saves worlds, so that's it didn't work.
    Maybe I'll see what I can do about the plugin later this day.
     
  5. Brant

    Brant Witch

    Messages:
    51
    GitHub:
    tetroyt
    ok thank you im free all day of you need someone to test it out
     
  6. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,632
    GitHub:
    HimbeersaftLP
    I just tried the plugin and it does seem to save the cells to the cells.json just fine. Mind elaborating your issue more?
     
  7. Brant

    Brant Witch

    Messages:
    51
    GitHub:
    tetroyt
    erm the cells didnt save in the json file for me
     
  8. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,632
    GitHub:
    HimbeersaftLP
    Did you server shut down properly? The plugin should save cells when it disables (and it did so for me).
     
  9. Brant

    Brant Witch

    Messages:
    51
    GitHub:
    tetroyt
    i dont see any errors in the console it just happens when ever the server restarts or gets turned off
     
  10. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,632
    GitHub:
    HimbeersaftLP
    Hmm, try this phar I attached, it contains debugging messages when loading and saving
    Code:
    When starting up the server:
    [CellPE] 3 cells loaded from json
    [CellPE] No cells.json found, creating new
    When shutting it down:
    [CellPE] 3 cells saved
    [CellPE] No cells saved
    
     

    Attached Files:

  11. Brant

    Brant Witch

    Messages:
    51
    GitHub:
    tetroyt
    thanks ill try now
     
  12. Brant

    Brant Witch

    Messages:
    51
    GitHub:
    tetroyt
    i created the cell and restarted my server and they still didnt save/load

    [17:38:58] [Server thread/INFO]: Enabling CellPE v2.0.3

    [17:38:58] [Server thread/INFO]: [CellPE] 0 cells loaded from json
     
  13. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,632
    GitHub:
    HimbeersaftLP
    What did it say when shutting it down, any errors? I didn't change anything but add those messages, so it's expected that it still doesn't work.
     
  14. Brant

    Brant Witch

    Messages:
    51
    GitHub:
    tetroyt
    i actually dont see any shut down messages it just saves then loads everything again
     
  15. Brant

    Brant Witch

    Messages:
    51
    GitHub:
    tetroyt
    when you create a cell in game does it say anything in console like cell created or something?
     
  16. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,632
    GitHub:
    HimbeersaftLP
    How are you creating the cell? I only added messages on the mentioned two occasions.
     
  17. Brant

    Brant Witch

    Messages:
    51
    GitHub:
    tetroyt
    with the command /cell set (name) (price)
     
  18. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,632
    GitHub:
    HimbeersaftLP
    Weird, that worked completely fine for me. Mind trying it out on a fresh install of the latest PMMP version?
     
    EdwardHamHam likes this.
  19. Brant

    Brant Witch

    Messages:
    51
    GitHub:
    tetroyt
    sure
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.