Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

working on a hunger games plugin for 1.4 & trickier bits

Comments in 'Plugin Development' started by VonHirst, Aug 27, 2014.

  1. VonHirst
    Offline

    VonHirst Active Member

    Joined:
    Aug 26, 2014
    Posts:
    50
    Hey guys, I’m working on a hunger games plugin for 1.4. I’m using events, timers, game state and player state, the usual stuff. I’ve mapped out the logic in a flow chart; everything fairly straight forward except for some of the trickier bits I’ve listed below:

    1. Spectator Mode: Make Player Invisible and Unable to Interact with Objects, possibly fly, teleport to players

    2. Warp players to waiting area

    3. Freeze / Unfreeze Players

    4. Enable / Disable PVP

    5. Disable destroying the environment (but able to open chests & doors)

    6. Empty and Reload Chests with Random Items

    7. Reset Map

    If anyone has any pointers / tips or sample code on how to accomplish these, much appreciated! Thanks.
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    xpyctum, iJoshuaHD and 64FF00 like this.
  3. VonHirst
    Offline

    VonHirst Active Member

    Joined:
    Aug 26, 2014
    Posts:
    50
    This is great info - will research and get back. Plugin will be 100% public.
    PEMapModder likes this.
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    @Dinokiller, where are you!
    Tuff likes this.
  5. EkiFoX
    Offline

    EkiFoX Active Member Plugin Developer

    Joined:
    Feb 28, 2014
    Posts:
    94
    Plugins:
    2
    Minecraft User:
    ekifox
    loadlevel not work :C
  6. VonHirst
    Offline

    VonHirst Active Member

    Joined:
    Aug 26, 2014
    Posts:
    50
    i'm trying to get a rudimentary map going - followed the instructions here but no dice. Server starts and looks OK, but when I connect with client (android, 095) stuck at "Building Terrain" screen with no progress on bar - not even after attempting to re-connect several times. I'm running Alpha_1.4dev-478_x86

    Goal is to use MCEdit to build the map
  7. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    I think it is MCPE bug.
  8. iJoshuaHD
    Offline

    iJoshuaHD Notable Member Plugin Developer

    Joined:
    Nov 7, 2013
    Posts:
    1,196
    Plugins:
    4
    Minecraft User:
    iJoshuaHD
    i have been telling many of others to lower their view distance to the lowest toggle as possible and disable all graphics settings too to load things smoothly. this is what @shoghicp told me as i ran into the same problem getting stucked at building terrain.
  9. VonHirst
    Offline

    VonHirst Active Member

    Joined:
    Aug 26, 2014
    Posts:
    50
    i'll give it a shot - thanks
  10. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,724
    Minecraft User:
    Legoboy0215
    Hunger games, I hope you can succeed!
  11. VonHirst
    Offline

    VonHirst Active Member

    Joined:
    Aug 26, 2014
    Posts:
    50
    Thanks for pinging the thread - I had written up some of the code, but stopped development when I realized how unstable the server was. I'm going to pick it back up when the server stabilizes.
  12. xiranoMc
    Offline

    xiranoMc New Member

    Joined:
    Dec 27, 2014
    Posts:
    2
    Minecraft User:
    xirano
  13. xiranoMc
    Offline

    xiranoMc New Member

    Joined:
    Dec 27, 2014
    Posts:
    2
    Minecraft User:
    xirano
    Okay thx
  14. Marcelo234
    Offline

    Marcelo234 New Member

    Joined:
    Oct 18, 2014
    Posts:
    204
    When it will works?

Share This Page

Advertisement