Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.

Commit

Permalink
Add English file #1 and bump!
Browse files Browse the repository at this point in the history
  • Loading branch information
beito123 committed Oct 13, 2018
1 parent 692cc31 commit a2a1485
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Sit/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Sit

You can sit here.

if you want to be invisible, change chair-network-id to 64 in config.yml.

chair-network-id: 82
2 changes: 1 addition & 1 deletion Sit/build.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
group 'Sit'
version '1.1.0'
version '1.1.1'
2 changes: 2 additions & 0 deletions Sit/src/main/java/ru/bk/beito3/sit/MainClass.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public class MainClass extends PluginBase implements Listener {

@Override
public void onEnable() {
this.saveResource("config-eng.yml");

// Load config files
Config config = new Config(new File(this.getDataFolder(), "config.yml"), Config.YAML);
int changes = config.setDefault(new LinkedHashMap<String, Object>() {
Expand Down
6 changes: 6 additions & 0 deletions Sit/src/main/resources/config-eng.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# rename to config-eng.yml if you want.

tap-warp: true
command-sit-description: Sit here
message-sat: §6Jump to stand up§r
chair-network-id: 82
2 changes: 1 addition & 1 deletion Sit/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Sit
version: 1.1.0
version: 1.1.1
author: beito3
api: ["1.0.0"]
main: ru.bk.beito3.sit.MainClass
Expand Down

0 comments on commit a2a1485

Please sign in to comment.