マルチプレイなのにシングルプレイのようなあべこべ体験ができる、Spigotプラグインです。
より強力で魅力的になって帰ってきたSoloServerCore3はプレイヤーに新たな体験を提供します。
動作要項
- PaperMC 1.18.x (PaperMC 1.18-66 Tested)
- MySQL or MariaDB 5.x ~
前提プラグイン
- CoreProtect 21.2 ~
- ProtocolLib 4.8.x ~ (This is optional since v4.2.0.)
ダウンロード
Develpment
SoloServerCore3ではAPIやカスタムイベントが使用可能になっています。
SoloServerCoreを依存関係に追加する場合は以下を使用して下さい。
maven
<repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories> <dependencies> <dependency> <groupId>com.github.nafu-at</groupId> <artifactId>SoloServerCore3</artifactId> <version>Tag</version> </dependency> </dependencies>
gradle
repositories { maven { url 'https://jitpack.io' } } dependencies { compileOnly 'com.github.nafu-at:SoloServerCore3:Tag' }
SoloServerApiを使う
SoloServerApiを使用する際にプラグインのインスタンスを呼び出す必要はありません。
SoloServerApiから直接アクセスすることができます。
但しSoloServerCoreをplugin.yml
内でdepend
に設定することを忘れないでください。
public final class SoloServerCoreExtensions extends JavaPlugin { @Override public void onEnable() { // SoloServerApi.getInstance() はシングルトンです。 // 常に1つのインスタンスを返します。 SoloServerApi soloServerApi = SoloServerApi.getInstance(); // 例えばSSCのプレイヤーデータを取得する方法は以下のとおりです。 Player player = Bukkit.getPlayer(uuid); SSCPlayer sscPlayer = soloServerApi.getSSCPlayer(player); } }
License
This plugin is published under Apache License 2.0.
Copyright 2020 NAFU_at. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.