Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
lilingfengdev committed Jul 5, 2024
1 parent 101f231 commit 65f39ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/auto-install-depend.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ def downloads():
# 下载各个插件
download_task("ProtocolLib", "https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/artifact/build/libs"
"/ProtocolLib.jar")
download_task("Luckperms", "https://ci.lucko.me/job/LuckPerms/1549/artifact/bukkit/loader/build/libs/LuckPerms-Bukkit-5.4.134.jar")
download_task("Luckperms", "https://ci.lucko.me/job/LuckPerms/1549/artifact/bukkit/loader/build/libs/LuckPerms"
"-Bukkit-5.4.134.jar")
download_task("PlaceholderAPI", "https://ci.extendedclip.com/job/PlaceholderAPI/193/artifact/build/libs"
"/PlaceholderAPI-2.11.6-DEV-193.jar")
download_task("PlugManx", "https://github.com/Test-Account666/PlugManX/releases/download/2.4.0/PlugManX-2.4.0.jar")
Expand Down
5 changes: 5 additions & 0 deletions src/config-eazy.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ def config(properties):
properties["online-mode"] = "false"
properties["level-seed"] = input("输入种子,为空则随机生成:")
properties["max-players"] = int(input("输入最大玩家数(默认20):"))
if ask("开启命令方块"):
properties["enable-command-block"] = "true"
else:
properties["enable-command-block"] = "false"
properties["allow-flight"] = "true" # 垃圾玩意,问都不想问


if __name__ == "__main__":
Expand Down

0 comments on commit 65f39ad

Please sign in to comment.