Posts by james1bow

    a small discord plugins to relay chat from game to discord and discord to game.

    **note: as i have run into a few issues with JDA ive decided to release a basic version for now.


    download both parts and extract the RWDBbasic.part1.rar (the rest will self extract).


    in the properties file you must add a bot token and a channel id(read below).


    setting up your bot:


    head over to the Discord dev portal click here.

    select new application

    name your bot and select Create



    on the left select OAuth2


    for OAuth2 url Generator check the bot box



    in the bot permissions section check the box's Send Messages and read message history

    leave integration type alone and and copy the generated url(save this for later as its used to add the bot to the discord server!).


    next selct bot on the left sidebar.


    under auth flow select public bot, presence intent, server members intent and message content intent.



    under the bot permissions section select send messages and read message history



    then back at the top select Reset Token

    copy this token. this is your bot token NEVER SHARE THIS TOKEN!!!!!!

    in the discord server on the channel to relay chat, right click and select copyid. **if you do not have this option read THIS!


    now, in the plugin directory, open the properties.properties file. for bot token after the = add your bot token for generaltextchannelid add your channelid and save the file.

    copy the link created and paste it into your web browser. this will walk you threw adding the bot to your server.


    load your RW server and enjoy!


    if you have issues, questions or recommendations please dont hesitate to comment


    i am working on an advanced version with commands status notifications and global rw chat HERE!


    UPDATE 0.0.3

    added auto reply if a player sends a message in the chat channel and there are no players online

    added a "useConnect" option to announce player connect/disconnect in game

    Item blueprint 1 I believe. You can start typing in the console and it will show you the commands. For items it's item the item u want fallowed by the amount and optional variation. So the command for Apple would be item Apple 1 for one apple.

    First of all copy your entire world folder and plugins folder if you use any just to be safe. Go-to the option to enable beta and set it to no beta. Once you do you should be able to uninstall Java version by right clicking on the game in library and click un install. It should only un install Java version. Worst case it un installs both. If that's the case bl unity again and drag the world's and plugins folder back into the game directory.

    I am almost sure these won't be in.


    Regarding Mobs, their focus was on human NPCs and wolves. I think that skeletons, being monsters, will have some peculiarities of their own, and that would take an extra labor JIW Games preferred to save for later. Specially because their Trello Board tag it as "In progress", rather than "done".


    But even if these get introduced as a surprise feature, rest assured: Mobs do not spawn close to the parts of the world you modified, so your cave will not get unintended visitors.

    We are for sure getting bandit skeletons and wolves with the next update. Last o knew anyway

    can you share your player log and their player log? should be in a logs folder in the game directory.

    in case you need a timer for the permissions based on time, you can use the players join time (i believe is time in milliseconds from January 1 1970). something like what i use for auctions

    with this method the the starttime would be the players join time and the duration is how long you want the timer in hours

    Java
    public Long createEndTime(Long startTime, Integer duration){
    long endTime = startTime + (1000 * 60 * 60 * duration);
    return endTime;
    }

    i had to fight with it a bit as well. the fallowing code is the code i use for my auction house plugin.

    try using the playercraftitemevent to get the item and use the example below.

    Somehow the auction house is faulty :( - tried to sell 150 yarns yesterday and another 100 today: both stacks have disappeared from the inventory, but don't appear in the list and I didn't get an email either :(

    it takes up to 90 seconds for them to show up. you can also click the refresh button to refresh the listings at anytime

    there was indeed an error that was stopping it from sending the mail. give me a bit to to look threw the logs so i can return everything. so sorry about that!

    How exactly does the Auction House work? I was sure that I bid on at least one item, and it showed it as my having bid.... but now its disappeared and I haven't received anything? I checked my mail a few times, but have no messages...


    Also if you put items for sale in the Auction House, do you get them back if they don't sell? Or do they just vanish (sure that has happened to me)?


    Great idea though, love it...

    i will take a look now. if the item doesnt sell you should get it back. if you are outbid your bid should be returned

    my only issue with that is, it seems a bit pricey after buying the first 2 plots. As I'm a builder, rather than a miner, it may take me a long time to get enough coins for the next area.

    you should have started out with enough to buy a few areas. areas used to be a lot cheaper but i raised them to balance things out as i add new things. i thought i gave everyone more coin when i raised the price. whats your in game name so i can give you more coin? ive have updated your coin. you did in fact join before i updated the plugin and i somehow missed you. ive given you some more coin.

    One thing - how much protection do the areas give? I've been locking doors and planting behind walls as I wasn't sure? (I don't have Discord).

    everything is protected including mount and vegetation.