Ssomar 插件系列的核心插件
SCore 是 Ssomar 旗下所有插件共同使用的一个核心插件。
为了优化并集中管理各项功能,我创建了 SCore。
这个核心插件帮助我在其他插件中构建高效的游戏内编辑器,集中插件特性,并支持创建和使用弹射物、变量、自定义条件以及自定义命令。
作为依赖下载
如果你想使用我的其他插件,则必须下载 SCore。
在下载 SCore 时,请确保选择正确的版本。
SCore 版本号的后缀需要与我的其他插件版本号保持一致。
例如:如果你下载的 ExecutableItems 版本为 7 .24.5.12,那么你应该下载 SCore 5 .24.5.12。
独立安装
如果你对以下功能感兴趣,即使不安装我的其他插件也可以单独安装它:
- 创建自定义弹射物并将其发射
- 使用占位符在任何地方创建和使用自定义变量
- 执行打包好的自定义命令
创建自定义弹射物 (Wiki)
命令
/score projectiles > 显示所有弹射物并允许你编辑它们
/score projectiles-create <id> > 打开编辑器以创建新的弹射物
/score projectiles-delete <id> > 删除弹射物的操作(需要确认)
/score reload > 重载插件(如果你在 .yml 文件中编辑了弹射物,这将很有用)
/score run-player-command player:Ssomar LAUNCH projectile:MY_PROJECTILE_ID > 强制玩家发射你的弹射物
创建自定义变量 (Wiki)
变量类型:
变量格式:
- NUMBER(数字)
- STRING(字符串)
- LIST(列表)
命令:
/score variables list
/score variables info {var_name} [player]
/score variables-create {var_name}
/score variables-delete {var_name}
/score variables
/score variables clear {typeofvariable} {nameofvariable} [player]
占位符:
%score_variables_<var_name>%
%score_variables_<var_name>_int%
更多信息请参阅 Wiki
贡献代码
SCore 是开源的,如果你想做出贡献,请访问这里:Github Repo
The core plugin of Ssomar's Plugin
SCore is a core plugin used by all the Ssomar's plugin.
In order to optimize and centralize eveything I created SCore.
This core plugin helps me to create efficient in-game editor in my plugins, centralize the plugin features, be able to create and use projectiles, variables, custom conditions, and custom commands.
Download as dependency
If you want to use my other plugin then you must download SCore.
Be sure when you download SCore to download the correct version.
The end of the version should match with the version of my other plugin.
Example: you downloaded ExecutableItems 7 .24.5.12 then you should download SCore 5 .24.5.12.
Download it independently
You can install it without my other plugins if you are insterested by :
- Creating custom projectiles and launch them
- Creating custom variables that can be use everywhere using placeholders
- Executing the packaged custom commands
Create custom projectiles (Wiki)
Commands
/score projectiles > Shows you all projectiles and let you edit them
/score projectiles-create <id> > Open the editor to create a new projectile
/score projectiles-delete <id> > Action to delete a projectile (need confirmation)
/score reload > Reload the plugin (useful if you edit a projectile in .yml)
/score run-player-command player:Ssomar LAUNCH projectile:MY_PROJECTILE_ID > Force a player to launch your projectile
Create custom variables (Wiki)
Variable types:
- Global
- Player (Per player)
Variable format:
Commands:
/score variables list
/score variables info {var_name} [player]
/score variables-create {var_name}
/score variables-delete {var_name}
/score variables
/score variables clear {typeofvariable} {nameofvariable} [player]
Placeholders:
%score_variables_<var_name>%
%score_variables_<var_name>_int%
More info in the wiki
Custom commands (Wiki)
Contribute
SCore is open source, so if you want to contribute you can go here: Github Repo
评论 0
登录后参与评分
还没有评论,来抢沙发吧