跳到正文

Player Template

作者:gigaherz

Small mod to apply an inventory template (starter kit) to new players

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

What Is This?

 

Player Template is a server-only mod that lets you apply an inventory template (sometimes referred to as starter kit) to new players.

The template can be easily saved from ingame via a command.

Unlike other mods, Player Template remembers the slot locations of the items, so the template will be applied exactly, hotbar, equipment and all.

 

Commands

 

/playertemplate reload

The reload command loads the template from disk, in case you have modified it by hand.

 

/playertemplate give <players> [<template>]

The give command applies a template to the given player(s). Existing items are kept in their slots, and any item that should go to a filled slot will instead get added to the first available slot, or dropped to the ground. If the template parameter is not specified, it apples the “default” template.

 

/playertemplate replace <players> [<template>]

The replace command removes all existing items and gear, and then applies the template to the given player(s). If the template parameter is not specified, it apples the “default” template.

 

/playertemplate save <player> [<template>]

The save command saves the inventory from the given player into the template, overwriting the template if it existed. If the template parameter is not specified, it saves to the “default” template.

 

/playertemplate remove <template>

The remove command removes a template from the config.

 

TODO

 

Modded inventories, such as Curios, are not currently supported.

 

Can I use this in <X>?

Yes. Unless <X>’s license is incompatible with this mod’s, which is unlikely.

Help and Support

For bug reports and feature requests, visit the issue tracker (link above)

You can also find me on discord, in my little discord server (please use the support forum channels! DO NOT DM me unless strictly necessary). 

I’ve got a Patreon!

Help me continue making games and mods! Click here

常见问题

Player Template 支持哪些 Minecraft 版本?

Player Template 支持 Minecraft Java 版 1.18.2–26.2,共 26 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Player Template 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

gigaherz 的其他作品

查看全部 →