Posts by yahwho

    Hi!


    Here is my method I'm playing with at the moment.


    Code
    @EventMethod
    public void onPlayerCommand(PlayerCommandEvent event) {
    String[] cmd;
    cmd = event.getCommand().split(" ");
    if (cmd.length == 3 && cmd[0].equals("/add") && cmd[1].equals("friend")) {
    String player = cmd[2];
    System.out.println("" + cmd[2]);
    }

    I need to get the players UID from their textual name ( it will then go to a SQL statement ).


    I'm really quite stuck on how to do this? ?(

    I'm still having problems getting server to show after update. X/ I see this at the end of the startup script log



    properties file




    OK this is weird. I had to do this a few times to check I wasn't going mad. I checked that the properties file had the line "server_query_ip=-1" in it, when the server runs, you look back at this file and the line has been removed. :|

    Hi guys!


    Now, before when the username was the ID of a player, a player could say type in a command such as /addfriend [playername] but now it's not unique and can change, so the UID has to be used. Can anyone think of a way to simplify this for users? Asking a user to type in a UID seems like its not going to work in practice. /addfriend [9129138053209236023093] just seems too "unfriendly".


    Any thoughts, ideas guys? I'm a little stumped at the moment. 8|

    Right it appears (as far as I can tell so far) to be that newly generate land is OK.


    The problem seems to be contained within the "original" spawned land where I had originally set Dungeons and Caves to off.


    I had modified the database some time ago to allow new areas to contain Dungeons and caves. Which had worked fine.


    It appears though that since the latest update, the areas where there were originally no caves and dungeons now have caves and dungeons! Which is great, but it seems that this is the process which has caused the holes.

    Hmm problem is Minorotrious is that they appear to be all over the place, and people have already died from falling through them. The server keeps track of people survival time, so those who fall have had their survival time reset to zero already.


    I'm hoping there is a repair script available? (I.e. to automate the F10 repair function but across all chunks?)

    Ahh great I see that does fix the ones I'm looking at.


    Problem is they seem to be all over the place and the server is a survival one so players don't have access to the creative mode option.


    I'm hoping there is some way I can "repair chunk boarders" across the whole database. . .

    Since the update I've had some people mention to me that there are holes in the world they are falling through. I took a look for myself and sure enough, not long after looking I came a few too.





    Hi guys, I'm starting to work on UI elements and the central cursor thing is overlaying over my UI. So I assume there is a API boolean to call to set this visible or not. Can anyone help me out here? I can't seem to find anything in the API for it? Admittedly I may be searching for the wrong keyword.