dkoz / palworld-palbot Goto Github PK
View Code? Open in Web Editor NEWPalbot - Palworld Discord Bot for RCON, Whitelist, and Server Management.
Home Page: https://discord.kozejin.dev
Palbot - Palworld Discord Bot for RCON, Whitelist, and Server Management.
Home Page: https://discord.kozejin.dev
on debain or ubuntu i innstalled bot but keeps restarting in logs i get
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 774, in _load_from_module_spec
palbot_1 | Palguard disabled by default. Please enable it in config.json
palbot_1 | setup(self, **extras)
palbot_1 | File "/app/cogs/economy/shop.py", line 189, in setup
palbot_1 | bot.add_cog(ShopCog(bot))
palbot_1 | ^^^^^^^^^^^^
palbot_1 | File "/app/cogs/economy/shop.py", line 61, in init
palbot_1 | self.load_shop_items()
palbot_1 | File "/app/cogs/economy/shop.py", line 82, in load_shop_items
palbot_1 | with open(shop_items_path) as shop_items_file:
palbot_1 | ^^^^^^^^^^^^^^^^^^^^^
palbot_1 | FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 |
palbot_1 | The above exception was the direct cause of the following exception:
palbot_1 |
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/app/main.py", line 69, in
palbot_1 | bot.load_extension(module_name)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 862, in load_extension
palbot_1 | self._load_from_module_spec(spec, name, extras=extras)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 779, in _load_from_module_spec
palbot_1 | raise errors.ExtensionFailed(key, e) from e
palbot_1 | nextcord.ext.commands.errors.ExtensionFailed: Extension 'cogs.economy.shop' raised an error: FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 | Palguard disabled by default. Please enable it in config.json
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 774, in _load_from_module_spec
palbot_1 | setup(self, **extras)
palbot_1 | File "/app/cogs/economy/shop.py", line 189, in setup
palbot_1 | bot.add_cog(ShopCog(bot))
palbot_1 | ^^^^^^^^^^^^
palbot_1 | File "/app/cogs/economy/shop.py", line 61, in init
palbot_1 | self.load_shop_items()
palbot_1 | File "/app/cogs/economy/shop.py", line 82, in load_shop_items
palbot_1 | with open(shop_items_path) as shop_items_file:
palbot_1 | ^^^^^^^^^^^^^^^^^^^^^
palbot_1 | FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 |
palbot_1 | The above exception was the direct cause of the following exception:
palbot_1 |
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/app/main.py", line 69, in
palbot_1 | bot.load_extension(module_name)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 862, in load_extension
palbot_1 | self._load_from_module_spec(spec, name, extras=extras)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 779, in _load_from_module_spec
palbot_1 | raise errors.ExtensionFailed(key, e) from e
palbot_1 | nextcord.ext.commands.errors.ExtensionFailed: Extension 'cogs.economy.shop' raised an error: FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 774, in _load_from_module_spec
palbot_1 | Palguard disabled by default. Please enable it in config.json
palbot_1 | setup(self, **extras)
palbot_1 | File "/app/cogs/economy/shop.py", line 189, in setup
palbot_1 | bot.add_cog(ShopCog(bot))
palbot_1 | ^^^^^^^^^^^^
palbot_1 | File "/app/cogs/economy/shop.py", line 61, in init
palbot_1 | self.load_shop_items()
palbot_1 | File "/app/cogs/economy/shop.py", line 82, in load_shop_items
palbot_1 | with open(shop_items_path) as shop_items_file:
palbot_1 | ^^^^^^^^^^^^^^^^^^^^^
palbot_1 | FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 |
palbot_1 | The above exception was the direct cause of the following exception:
palbot_1 |
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/app/main.py", line 69, in
palbot_1 | bot.load_extension(module_name)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 862, in load_extension
palbot_1 | self._load_from_module_spec(spec, name, extras=extras)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 779, in _load_from_module_spec
palbot_1 | raise errors.ExtensionFailed(key, e) from e
palbot_1 | nextcord.ext.commands.errors.ExtensionFailed: Extension 'cogs.economy.shop' raised an error: FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 | Palguard disabled by default. Please enable it in config.json
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 774, in _load_from_module_spec
palbot_1 | setup(self, **extras)
palbot_1 | File "/app/cogs/economy/shop.py", line 189, in setup
palbot_1 | bot.add_cog(ShopCog(bot))
palbot_1 | ^^^^^^^^^^^^
palbot_1 | File "/app/cogs/economy/shop.py", line 61, in init
palbot_1 | self.load_shop_items()
palbot_1 | File "/app/cogs/economy/shop.py", line 82, in load_shop_items
palbot_1 | with open(shop_items_path) as shop_items_file:
palbot_1 | ^^^^^^^^^^^^^^^^^^^^^
palbot_1 | FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 |
palbot_1 | The above exception was the direct cause of the following exception:
palbot_1 |
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/app/main.py", line 69, in
palbot_1 | bot.load_extension(module_name)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 862, in load_extension
palbot_1 | self._load_from_module_spec(spec, name, extras=extras)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 779, in _load_from_module_spec
palbot_1 | raise errors.ExtensionFailed(key, e) from e
palbot_1 | nextcord.ext.commands.errors.ExtensionFailed: Extension 'cogs.economy.shop' raised an error: FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 774, in _load_from_module_spec
palbot_1 | Palguard disabled by default. Please enable it in config.json
palbot_1 | setup(self, **extras)
palbot_1 | File "/app/cogs/economy/shop.py", line 189, in setup
palbot_1 | bot.add_cog(ShopCog(bot))
palbot_1 | ^^^^^^^^^^^^
palbot_1 | File "/app/cogs/economy/shop.py", line 61, in init
palbot_1 | self.load_shop_items()
palbot_1 | File "/app/cogs/economy/shop.py", line 82, in load_shop_items
palbot_1 | with open(shop_items_path) as shop_items_file:
palbot_1 | ^^^^^^^^^^^^^^^^^^^^^
palbot_1 | FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 |
palbot_1 | The above exception was the direct cause of the following exception:
palbot_1 |
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/app/main.py", line 69, in
palbot_1 | bot.load_extension(module_name)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 862, in load_extension
palbot_1 | self._load_from_module_spec(spec, name, extras=extras)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 779, in _load_from_module_spec
palbot_1 | raise errors.ExtensionFailed(key, e) from e
palbot_1 | nextcord.ext.commands.errors.ExtensionFailed: Extension 'cogs.economy.shop' raised an error: FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 | Palguard disabled by default. Please enable it in config.json
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 774, in _load_from_module_spec
palbot_1 | setup(self, **extras)
palbot_1 | File "/app/cogs/economy/shop.py", line 189, in setup
palbot_1 | bot.add_cog(ShopCog(bot))
palbot_1 | ^^^^^^^^^^^^
palbot_1 | File "/app/cogs/economy/shop.py", line 61, in init
palbot_1 | self.load_shop_items()
palbot_1 | File "/app/cogs/economy/shop.py", line 82, in load_shop_items
palbot_1 | with open(shop_items_path) as shop_items_file:
palbot_1 | ^^^^^^^^^^^^^^^^^^^^^
palbot_1 | FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 |
palbot_1 | The above exception was the direct cause of the following exception:
palbot_1 |
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/app/main.py", line 69, in
palbot_1 | bot.load_extension(module_name)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 862, in load_extension
palbot_1 | self._load_from_module_spec(spec, name, extras=extras)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 779, in _load_from_module_spec
palbot_1 | raise errors.ExtensionFailed(key, e) from e
palbot_1 | nextcord.ext.commands.errors.ExtensionFailed: Extension 'cogs.economy.shop' raised an error: FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 | Palguard disabled by default. Please enable it in config.json
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 774, in _load_from_module_spec
palbot_1 | setup(self, **extras)
palbot_1 | File "/app/cogs/economy/shop.py", line 189, in setup
palbot_1 | bot.add_cog(ShopCog(bot))
palbot_1 | ^^^^^^^^^^^^
palbot_1 | File "/app/cogs/economy/shop.py", line 61, in init
palbot_1 | self.load_shop_items()
palbot_1 | File "/app/cogs/economy/shop.py", line 82, in load_shop_items
palbot_1 | with open(shop_items_path) as shop_items_file:
palbot_1 | ^^^^^^^^^^^^^^^^^^^^^
palbot_1 | FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 |
palbot_1 | The above exception was the direct cause of the following exception:
palbot_1 |
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/app/main.py", line 69, in
palbot_1 | bot.load_extension(module_name)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 862, in load_extension
palbot_1 | self._load_from_module_spec(spec, name, extras=extras)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 779, in _load_from_module_spec
palbot_1 | raise errors.ExtensionFailed(key, e) from e
palbot_1 | nextcord.ext.commands.errors.ExtensionFailed: Extension 'cogs.economy.shop' raised an error: FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 | Palguard disabled by default. Please enable it in config.json
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 774, in _load_from_module_spec
palbot_1 | setup(self, **extras)
palbot_1 | File "/app/cogs/economy/shop.py", line 189, in setup
palbot_1 | bot.add_cog(ShopCog(bot))
palbot_1 | ^^^^^^^^^^^^
palbot_1 | File "/app/cogs/economy/shop.py", line 61, in init
palbot_1 | self.load_shop_items()
palbot_1 | File "/app/cogs/economy/shop.py", line 82, in load_shop_items
palbot_1 | with open(shop_items_path) as shop_items_file:
palbot_1 | ^^^^^^^^^^^^^^^^^^^^^
palbot_1 | FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 |
palbot_1 | The above exception was the direct cause of the following exception:
palbot_1 |
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/app/main.py", line 69, in
palbot_1 | bot.load_extension(module_name)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 862, in load_extension
palbot_1 | self._load_from_module_spec(spec, name, extras=extras)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 779, in _load_from_module_spec
palbot_1 | raise errors.ExtensionFailed(key, e) from e
palbot_1 | nextcord.ext.commands.errors.ExtensionFailed: Extension 'cogs.economy.shop' raised an error: FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 | Palguard disabled by default. Please enable it in config.json
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 774, in _load_from_module_spec
palbot_1 | setup(self, **extras)
palbot_1 | File "/app/cogs/economy/shop.py", line 189, in setup
palbot_1 | bot.add_cog(ShopCog(bot))
palbot_1 | ^^^^^^^^^^^^
palbot_1 | File "/app/cogs/economy/shop.py", line 61, in init
palbot_1 | self.load_shop_items()
palbot_1 | File "/app/cogs/economy/shop.py", line 82, in load_shop_items
palbot_1 | with open(shop_items_path) as shop_items_file:
palbot_1 | ^^^^^^^^^^^^^^^^^^^^^
palbot_1 | FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 |
palbot_1 | The above exception was the direct cause of the following exception:
palbot_1 |
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/app/main.py", line 69, in
palbot_1 | bot.load_extension(module_name)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 862, in load_extension
palbot_1 | self._load_from_module_spec(spec, name, extras=extras)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 779, in _load_from_module_spec
palbot_1 | raise errors.ExtensionFailed(key, e) from e
palbot_1 | nextcord.ext.commands.errors.ExtensionFailed: Extension 'cogs.economy.shop' raised an error: FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 | Palguard disabled by default. Please enable it in config.json
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 774, in _load_from_module_spec
palbot_1 | setup(self, **extras)
palbot_1 | File "/app/cogs/economy/shop.py", line 189, in setup
palbot_1 | bot.add_cog(ShopCog(bot))
palbot_1 | ^^^^^^^^^^^^
palbot_1 | File "/app/cogs/economy/shop.py", line 61, in init
palbot_1 | self.load_shop_items()
palbot_1 | File "/app/cogs/economy/shop.py", line 82, in load_shop_items
palbot_1 | with open(shop_items_path) as shop_items_file:
palbot_1 | ^^^^^^^^^^^^^^^^^^^^^
palbot_1 | FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
palbot_1 |
palbot_1 | The above exception was the direct cause of the following exception:
palbot_1 |
palbot_1 | Traceback (most recent call last):
palbot_1 | File "/app/main.py", line 69, in
palbot_1 | bot.load_extension(module_name)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 862, in load_extension
palbot_1 | self._load_from_module_spec(spec, name, extras=extras)
palbot_1 | File "/usr/local/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 779, in _load_from_module_spec
palbot_1 | raise errors.ExtensionFailed(key, e) from e
palbot_1 | nextcord.ext.commands.errors.ExtensionFailed: Extension 'cogs.economy.shop' raised an error: FileNotFoundError: [Errno 2] No such file or directory: 'gamedata/kits.json'
This is where I will update the known issues and cross them out as I fix them.
When you use /rcon broadcast, the message cuts off at the first space in-game.
So, if you use the commmand, like:
/rcon broadcast (text)Greetings everyone! (servername)my server
in-game, you'll only see "Greetings"
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.