Posts by james1bow

The next update will be available on Wednesday, December 18, in the early evening (GMT+1).

This update will not yet replace the Java version, instead it is the actual content update. We'll provide more information about the transition together with the update.

    Many players are experiencing difficulties when trying to hit skeletons in the wild, even though the option to hit NPC humans is enabled.

    Skeletons are not Human NPC's in the API. i think this plugins last update was before the last rw update that introduced skeletons. also read somewhere about skeletons having small hit box's. if players cannot hit them at all i would say its the plugin. if its just hard to hit them i would say its the hit box's.

    I've been working on a new portals plugin that uses a small area to triggera menu. It will also have a customizable portal visual. I currently have no idea when it will be ready as it's my busy part of the year. As soon as I have the time I will get it finished up.

    Hey so was curious if there's a way to disable the default UI in the API, I'm pretty sure there is but I forget ;). Also RE creating a mod for servers and multiplayer do all players need my mod or can the server have it and it'll download the data?


    Thanks Cedarman

    not sure on disabling the UI. The plugins go on the server only


    That sounds weird :wat: Does it only happen in multiplayer? If that happens again, do you mind sending a report while looking at the door?

    i can confirm this. the server console gives a desync message. ill try to find the log

    OK. I'll look into it. Been a busy few days. In theory the only way it could happen is if the database was moved from another server or singleplayer game, or if the plugin was added while player was online.

    How would one get a prefab using a ray cast.? Have been trying for days. The the objectinteraction event has a get gameObject method but a raycast has no such method. I have tried world.getobject but it always returns null I'm guessing as it's not handled the same. Any input would be helpful.


    just threw this together and didnt test it but you should get the idea.

    if its of interest i could make a plugin for this sometime. something like if a player has a compass in an equipment slot it will add a small ui to the screen giving longitude latitude and depth? maybe ground slope angle if i can figure it out!

    I spoke to admins from other servers and they had been deleting npcs from their server every few days........ with 11 people on my server I had over 9000 npcs in just 2 days........ after the last update this now appears to have been fixed..... but today I also restricted number of npcs in the config just in case 100 people do log onto my server all at the same time lol

    i find limiting the number of npcs can lead to an empty world when exploring new areas. with what you have done to your server (the db changes), and i think the npc spawns are on the server only you could just shorten their life i believe its in seconds. looking at the db -1 is infinite life(adult npcs for the most part). the ones with the assigned times(for the most part) are infant variants that trigger the ontransform event(infant to adult) ? you could possibly change the lifetimes for adult to say 7200(20ish hours). then in the config lower the re spawn times. this would give you a limited amount of npcs but keep them spread out.

    EDIT: yahwho sorry just noticed what thread this was in. didnt mean to take it over

    I just noticed that if you cancel the PlayerDropItemEvent the item the item vanishes until you drop another item on it. if the item was in the hotbar the player can still use the item but it doesnt show in the hotbar.



    Java
    @EventMethod
    public void onItemDrop(PlayerDropItemEvent event){
    Player player = event.getPlayer();
    Item item = event.getItem();
    event.setCancelled(true);
    }