Coder Social home page Coder Social logo

palbot's People

Contributors

lilsadpanda avatar ly-sec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

palbot's Issues

[Suggestion] Unban

Add an rcon command via discord /unban {steamid} that will delete the steam id in banlist.txt

like whitelist command

Commands that dont work

Feed back for all commands on Linux. Half of them dont work correctly.
I checked all permissions/roles/channels in my config, checked the bots App Integrations.
Let me know if im missing something for the setup of the bot??

/Broadcast (Bot returns saying No permissions)
/Players (works but the return from bot mixes players info)
/reload commands (Bot returns This command is only available to the developer)
/Reload events (This command is only available to the developer.)
/Save (No permissions)
/Server (works good, pulls all the info and displays)
/Whitelist Enalbe (works)
/Whitelist Disable (works)
/Whitelist-edit add (Bot returns saying You did not set up your config.json correctly!"
/whitelist-edit remove (You did not set up your config.json correctly!)
/shutdown (No permissions)

Server is offline, error

My server is online, but why does it still say Server is offline, error: Error: Failed all 1 attempts?

image

Role for whitelist

It would be cool to have a discord role linked only to the whitelist command

so add and remove

Install HELP

Hello,

Can we have some Install help maybe with paying someting ^^

Thanks

Bot is showing only the first 10 digits of the steam ID, resulting in a kick caused by a mistmatch

At times the bot will show only the 1st 10 digits of the online player's Steam ID, resulting in them being kicked. Moreover, it'll also add 2 digits at the end of the Steam ID. Both issues will make the ID appear as mismatched while it's not. A temporary workaround is to copy the entire whitelist, keep the first 10 digits and paste them under the full IDs which is not practical.
The picture below explains the issue:
image

Commands do not work

Application is not responding. After a while this error:

Error connecting to Rcon: Error: Connection error
at Socket. (/home/spravce/boti/Palworld/node_modules/minecraft-rcon-client/lib/index.js:29:68)
at Object.onceWrapper (node:events:633:26)
at Socket.emit (node:events:518:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^

Error: Connection error
at Socket. (/home/spravce/boti/Palworld/node_modules/minecraft-rcon-client/lib/index.js:29:68)
at Object.onceWrapper (node:events:633:26)
at Socket.emit (node:events:518:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v20.11.0

what about rcon_role

i try many time but idk what about rcon_role

error " You did not setup your config.json correctly! "

Cant get the bot to run linux

Ive installed many bots like this on windows but not on Linux. So i installed the repo, created my discord bot and invited with admin permissions.
Changed the config file with my token and other info.
When running node . its returning with this error but not sure why?
Also my node version is 12.22.9

SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/root/PalBot/node_modules/discord.js/src/index.js:6:22)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

whitelist check not work

after i wait intervalId time got error in console:
"Error: error: Connection error"
i think the problem is here "await client.connect();"

gamedig dont work

error "Server is offline, error: Error: Failed all 1 attempts"

bit my server is online

First connect player not shown.

if rcon api say {"results":[{"username":"roro","playeruid":"1393838635","steamid":"76561198987923519"},{"username":"gotak","playeruid":"3244787420","steamid":"76561198073427014"},{"username":"Dyna_Styx","playeruid":"1941128631","steamid":"76561199631163946"}]}
roro is not shown in player list

Error: Used disallowed intents

When running the bot using the node . command, I receive the following error:

throw new Error("Used disallowed intents");
      ^

Error: Used disallowed intents

I've given the bot basically every permission in my server (except for Admin), do you know what else i could try?

NOTE: I solved this by going into the Bot Application -> Settings -> Bot -> Privileged Gateway Intents and toggling on all of the intents. Posting this anyway in case someone else runs into this issue! Would be helpful to have in the README

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.