Git Product home page Git Product logo

palworld-discord-bot's Introduction

bot to manage palworld on discord

English 日本語

This program is currently in beta, so there may be some features that do not work. Also, since I do not speak English, I am using machine translation, so there will be a lot of strange English.

Debugging was done on Ubuntu

banner

ToDolist (Hopefully one day it will end)

  • In-game display of join and leave
  • Game join and leave display on discord
  • automatic restart
  • Only the bot administrator, server administrator, or role holder can execute commands.
  • Server startup and shutdown indication
  • Implementation with slash command
  • Implement the help command
  • Fixed garbled characters in non-English (waiting for official fix)
  • Show steam name when logging in (waiting for official fix)
  • update using steamcmd
  • Support for Windows version
  • Edit INI
  • web page

update


2024 2/6 v0.1 Only the base is implemented.

2024 2/7 v0.1.1 Support for Windows

2024 2/9 v0.2 Fixed some bugs Added update command


How to Install

pip install -r ./code/requirements.txt
How to create a discord bot

1. First, please open discord developer portal

2. Click "New Application" in the yellow line.

banner

3. Click "Bot" in the yellow line.

Click Reset Token on the red line.

banner

5. Click "copy" on the yellow line to copy the discord Token.

Stick it to the "token=" field in the settings section below.

banner

Scroll down to the bottom and click on the three yellow lines to turn it on, then press "save".

banner

7. Click the following checkboxes and press "copy" below to create the invitation URL.

banner

Setup items

English

en_example.env

日本語

ja_example.env

Please edit the following

#Server Address
server_address=
#Server's MCrcon port
server_pass = 
#server port
port =
#Administrator's discord id
discord_id =
#Discord bot token
token=
#Location of the folder with palworld
#Example: folder_pach="~/Steam/steamapps/common/PalServer"
folder_pach=

When you are done editing, edit the name to the following

.env

Activation Method

Linux

./start.sh

Windows

./start.bat

discord setup items

Creating Administrative Roles

image image

Active Channel Settings

image

discord command

under construction

/help

Send command and bot chat to

/channel

Create an administrative role If not created, only the server administrator or bot owner can execute commands.

/createroll

Start server

/start

Stop server

/stop

Restart server

/restart

Sends a command to the server

/command command:

server update(steamcmd)

/update

Main Features

Entering and exiting servers

image image

Secure command submission

image

Start server !

image

server update(steamcmd)

image

palworld-discord-bot's People

Contributors

yuyu1815 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

palworld-discord-bot's Issues

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.