Skip to main content

幻兽帕鲁服务器rest api使用

Project description

PalWorld Api

这里放一张oc饭🤤

配置项

配置项列表

palworld_host_port

  • 类型:str
  • 默认值:127.0.0.1:8211
  • 说明:幻兽帕鲁的主机+开放的restapi的端口
  • 重要:必填

palworld_user

  • 类型:str
  • 默认值:Admin
  • 说明:你的服务器管理密码
  • 重要:必填

palworld_token

  • 类型:str or int
  • 默认值:your_token_here
  • 说明:你的服务器管理密码
  • 重要:必填

如何使用?

  • pl状态 :获取服务器状态
  • pl公告:向服务器发送一条字幕;参数:要发送的文本(必需)
  • pl玩家列表:获取当前服务器在线玩家列表
  • pl玩家信息:获取知道玩家在服务器的信息,需要玩家id;参数:玩家id(必需)
  • pl踢出:踢出服务器指定玩家,需要玩家id;参数:玩家id(必需),踢出原因(非必需)
  • pl封禁:封禁服务器内指定玩家,需要玩家id;参数:玩家id(必需),封禁原因(非必需)
  • pl解封:解封指定玩家
  • pl关服:关停服务器;参数:关闭等待时间(数字)(非必需,默认30s),关停前发送信息(必需)
  • pl强制关服:强制关停服务器

作者说的一些话

本人代码水平很差,将就着用罢,有问题请提iss

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_palworld-0.0.9.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_palworld-0.0.9-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_palworld-0.0.9.tar.gz.

File metadata

  • Download URL: nonebot_plugin_palworld-0.0.9.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.7

File hashes

Hashes for nonebot_plugin_palworld-0.0.9.tar.gz
Algorithm Hash digest
SHA256 e30142d557ca6dbca823637014b5dd3a127376acedf45fdfd87a5560f7cd5674
MD5 a0528979eaa2830cf49a925bb8f26125
BLAKE2b-256 545901ae97c10ba0a1065ab2d79bbf7514cd913c9cdc38037c9261e0de47edc7

See more details on using hashes here.

File details

Details for the file nonebot_plugin_palworld-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_palworld-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f19b795268548115b1d3cf03cade0d65b11fba699e51121a8cc2c128eeb9074f
MD5 0dc2b80479770af5ea4b2f349f7e8eb5
BLAKE2b-256 fd8963884dc1253e043ad47f4cb45f8eaa77032a99625e0c558f160294846923

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page