ly-sec / palbot Goto Github PK
View Code? Open in Web Editor NEWPalBot - Whitelist, RCON, Server management Palworld Discoord Bot
PalBot - Whitelist, RCON, Server management Palworld Discoord Bot
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)
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
Hello,
Can we have some Install help maybe with paying someting ^^
Thanks
can you help me to set up this bot please
I got crash every few minutes since last Palworld update (1.4.0).
Was working fine before that.
The only output I'm able to see is: Error: Error: Connection error
It would be cool to have a discord role linked only to the whitelist command
so add and remove
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)
i try many time but idk what about rcon_role
error " You did not setup your config.json correctly! "
Add an rcon command via discord /unban {steamid} that will delete the steam id in banlist.txt
like whitelist command
Error: Cannot find module 'tynt'
Require stack:
My bad, i dont read, u can delete it
Thanks for working on this! Any plans to add a player login/logoff notifier?
after i wait intervalId time got error in console:
"Error: error: Connection error"
i think the problem is here "await client.connect();"
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:
Server is offline, error: TypeError: Cannot read properties of null (reading 'setActivity').
No bot status message?
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
error "Server is offline, error: Error: Failed all 1 attempts"
bit my server is online
Can you help add support for the Thai language?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.