Jump to content

Jonny

Member
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Jonny

  1. Got a proof of concept for showing a map of player locations which is a feature I wanted as I haven't found a nice way to share maps in-game, so now I can use the bot to find people I'm playing with. Tried to make it as close to the in-game map as possible :
  2. Sorry to hear that Yeah there's probably not an easy way to solve it unless you can get real-time access to the logs as that's the only way things are exposed from the game, so the bot just watches the log files for new updates. Does your dedicated server provider not offer you ssh access to the server?
  3. I'd find this really useful too for my discord bot - currently servermsg is the only way to mirror messages from discord to the game, but as it flashes up in big red letters it's not very user friendly, so more options around this command would be great
  4. It would be good to access the discord integration from a mod, even just the ability to send messages from lua would be great
  5. First of all sorry if this is the wrong place, mods feel free to move it! The official discord integration I've found to be a bit buggy, and with it being hidden in the game there's no way to customise it, so I've created my own custom discord bot: Zomboi (I'm open to better name suggestions :D) It's still very early in development , but I'm keen to see if it's useful for anybody else and if there are any features I can add Current features: - Mirror in-game chat to a discord channel, using username and avatar from matching discord user - Notifications when a player logs in, increases a perk level, or dies - Get info about players, such as number of hours survived, total deaths, and perk levels - Status displays current player count - Get and set server options from discord - Show map for last known player location Future features: - Mirror discord chat into game. Currently the only way I think this can be achieved is using the `servermsg` command, but it shows the message in big red text which isn't user friendly. Hoping future PZ versions will offer an alternative - Server admin commands - Have done a proof of concept locally just working out the best way to structure the discord command(s) - More flexibility linking discord and in-game users. Currently it relies on the usernames matching but probably need a command to "link" usernames that don't match Welcome any feedback or questions, hopefully somebody else can get some use out of this
×
×
  • Create New...