Skip to content

Commit

Permalink
fix some
Browse files Browse the repository at this point in the history
  • Loading branch information
lilingfengdev committed Nov 23, 2024
1 parent 02d5906 commit 672df26
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/auto-antiseedcracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def config_leaf_global(leaf):

def download_antiseedcracker():
print("开始下载AntiSeedCracker")
download(r"https://dl.imc.rip/plugins/AntiSeedCracker-1.2.1.jar",
download(r"https://dl.yizhan.wiki/plugins/AntiSeedCracker-1.2.1.jar",
"plugins/AntiSeedCracker-1.2.0.jar")
print("下载完成")

Expand Down
2 changes: 1 addition & 1 deletion src/auto-install-depend.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def downloads():
download_task("PlugManx", "https://github.com/Test-Account666/PlugManX/releases/download/2.4.0/PlugManX-2.4.0.jar")
download_task("WorldEdit", "https://ci.enginehub.org/repository/download/bt10/23766:id/worldedit-bukkit-7.3.1"
"-SNAPSHOT-dist.jar?branch=version/7.3.x&guest=1")
download_task("EssentialsX", "https://dl.imc.rip/plugins/EssentialsX-2.21.0-dev%2B110-f1a5caf.jar")
download_task("EssentialsX", "https://dl.yizhan.wiki/plugins/EssentialsX-2.21.0-dev%2B110-f1a5caf.jar")
download_task("Multiverse-Core", "https://ci.onarandombox.com/job/Multiverse-Core/870/artifact/target/Multiverse"
"-Core-4.3.2-SNAPSHOT.jar")
download_task("AuthMe", "https://cdn.modrinth.com/data/3IEZ9vol/versions/oezVemzR/AuthMe-5.7.0-FORK-Universal.jar")
Expand Down
2 changes: 1 addition & 1 deletion src/config-anticheat.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def extract_zipfile():
download("https://dl.imc.rip/plugins/talent-config.zip", "temp.zip")
download("https://dl.yizhan.wiki/plugins/talent-config.zip", "temp.zip")
zip = zipfile.ZipFile("temp.zip")
zip.extractall(os.path.join(os.getcwd(), "temp"))

Expand Down
6 changes: 3 additions & 3 deletions src/geyser-egg.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def install_extend(auto_install=False):
download("https://ci.kejonamc.dev/job/GeyserUpdater/job/main/18/artifact/target/GeyserUpdater-1.6.4.jar",
"plugins/GeyserUpdater-1.6.4.jar")
if not auto_install and ask("安装Geyser扩展(1.20.6+)"):
download("https://github.com/lilingfengdev/GeyserExtrasCN/releases/download/latest/GeyserExtras.jar",
download("https://cdn.modrinth.com/data/OguISbmK/versions/QDtr4UOA/GeyserExtras_CN.jar",
"plugins/GeyserExtras.jar")


Expand All @@ -102,8 +102,8 @@ def setup_plugin(auto_install=False):
"plugins/floodgate-skript-2.1.jar")

if ask("安装基岩版菜单制作插件"):
download("https://ci.kejonamc.dev/job/CrossplatForms/job/main/lastSuccessfulBuild/artifact/spigot/build/libs"
"/CrossplatForms-Spigot.jar", "plugins/CrossplatForms-Spigot.jar")
download("https://dl.yizhan.wiki/plugins/MagicMenu-1.0.3.jar",
"plugins/Geyser-Spigot/extensions/MagicMenu-1.0.3.jar")


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion src/select-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_version_list(self):

def get_url_by_version(self, ver):
if ver == "1.18.2":
return "https://dl.imc.rip/plugins/Leaves-paperclip-1.18.2.jar"
return "https://vip.123pan.cn/1821558579/6492009"
id = json.loads(requests.get(f"https://api.leavesmc.org/projects/leaves/versions/{ver}").content)["builds"][-1]
return f"https://api.leavesmc.org/projects/leaves/versions/{ver}/builds/{id}/downloads/ghproxy"

Expand Down

0 comments on commit 672df26

Please sign in to comment.