Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Commit 34f1d34

Browse files
committed
feat: last changes
1 parent e7f7cee commit 34f1d34

File tree

4 files changed

+109
-4
lines changed

4 files changed

+109
-4
lines changed

README.md

Lines changed: 107 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<img height="300" src="https://i.imgur.com/odwLWJV.png" width="1000" alt=""/>
1+
<img height="300" src="https://i.imgur.com/odwLWJV.png" width="600" alt=""/>
22

33
## 🤔 What is this?
44

@@ -54,6 +54,112 @@ To observe in a better way, here is a video with the finished game:
5454

5555
[![Watch the video](https://i.imgur.com/w8D2Ty1.png)](https://youtu.be/Rr-WE7pSW_k)
5656

57+
## 🔨 Installation & Setup
58+
59+
- First, download the latest version [here](https://github.com/Josscoder/SquidGame/releases/latest)
60+
- Second, go to the plugins folder of your server and put the previously downloaded file inside.
61+
- Third, restart your server and you can start configuring,
62+
63+
```yml
64+
developmentMode: false #when this is false, the game itself will not work, only developer settings, play sounds and get position are enabled
65+
maxPlayers: 5
66+
minPlayers: 2
67+
maps: # These are all the maps we use
68+
waitingRoomMap:
69+
name: world # This will be the name of the world that will be the waiting room
70+
safeSpawn: 119:14:130 # This will be the center or the place where you always appear
71+
exitEntitySpawn: 122:12:132 # This is the position where the exit entity to the lobby will be
72+
pedestalCenterSpawn: 147:11:129 # This will be the position where you appear in the final stage, when the winner is on the pedestal
73+
pedestalOneSpawn: 156:14:129
74+
pedestalTwoSpawn: 156:13:133
75+
pedestalThreeSpawn: 156:12:125
76+
roomMap:
77+
name: SquidGameRoom
78+
safeSpawn: 0:101:0
79+
greenLightRedLightMap:
80+
name: RedLightGreenLight
81+
safeSpawn: 128:6:103
82+
goalCornerOne: 148:5:149
83+
goalCornerTwo: 108:25:158
84+
dollPosition: 128:6:152 # This will be the position in which the doll appears in the game red light green light
85+
sugarHoneycombsMap:
86+
name: SugarHoneyCombs
87+
safeSpawn: 128:4:128
88+
spawns: # These are the positions of all the rooms where the players appear to break the blocks
89+
'1': 323:4:152
90+
'2': 323:4:109
91+
'3': 286:4:109
92+
'4': 286:4:152
93+
'5': 304:4:130
94+
tugOfWarMap:
95+
name: TugOfWar
96+
safeSpawn: 128:4:128
97+
red:
98+
spawns: # These are the positions where the players appear in the game of Tug of War
99+
'1': 128:17:130
100+
'2': 129:17:130
101+
'3': 130:17:130
102+
'4': 127:17:130
103+
'5': 126:17:130
104+
blue:
105+
spawns:
106+
'1': 128:17:125
107+
'2': 129:17:125
108+
'3': 130:17:125
109+
'4': 127:17:125
110+
'5': 126:17:125
111+
marblesMap:
112+
name: Marbles
113+
safeSpawn: 128:5:128
114+
odd: # This will be the place where the player will stop to say that the number is odd, for this you have to get the upper corner and then the side corner at the bottom, covering the entire area
115+
cornerOne: 130:4:132
116+
cornerTwo: 126:9:136
117+
pair:
118+
cornerOne: 130:4:124
119+
cornerTwo: 126:9:120
120+
hopscotchMap:
121+
name: Hopscotch
122+
safeSpawn: 128:16:152
123+
crystal:
124+
number: 10 # This is the number of glass sections the map will have
125+
sections:
126+
'1':
127+
- 127:15:147 # This is the position of the first crystal
128+
- 129:15:147 # This is the position of the second crystal
129+
'2':
130+
- 127:15:143
131+
- 129:15:143
132+
'3':
133+
- 127:15:139
134+
- 129:15:139
135+
'4':
136+
- 127:15:135
137+
- 129:15:135
138+
'5':
139+
- 127:15:131
140+
- 129:15:131
141+
'6':
142+
- 127:15:127
143+
- 129:15:127
144+
'7':
145+
- 127:15:123
146+
- 129:15:123
147+
'8':
148+
- 127:15:119
149+
- 129:15:119
150+
'9':
151+
- 127:15:115
152+
- 129:15:115
153+
'10':
154+
- 127:15:111
155+
- 129:15:111
156+
goal: # This is the position of the goal, it is recorded just like the game of marbles
157+
cornerOne: 134:13:108
158+
cornerTwo: 120:23:100
159+
```
160+
161+
If you have any questions, contact me through my discord Josscoder#9867 or on my [Twitter](https://twitter.com/Josscoder)
162+
57163
## 📜 LICENSE
58164
59165
This game is licensed under the [Apache License 2.0](https://github.com/Josscoder/SquidGame/blob/main/LICENSE), this game was completely created by Josscoder (Luciano Mejia)

src/main/java/jossc/squidgame/SquidGamePlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private void initGameSettings() {
9898
saveDefaultConfig();
9999

100100
setDevelopmentMode(getConfig().getBoolean("developmentMode"));
101-
setDefaultPlayerGamemode(getConfig().getInt("defaultGamemode"));
101+
setDefaultPlayerGamemode(Player.SURVIVAL);
102102
setMaxPlayers(getConfig().getInt("maxPlayers"));
103103
setMinPlayers(getConfig().getInt("minPlayers"));
104104

src/main/java/jossc/squidgame/phase/Marbles.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public List<String> getScoreboardLines(User user) {
6161
List<String> lines = super.getScoreboardLines(user);
6262

6363
int marbles = user.getLocalStorage().getInteger("marbles");
64-
lines.add("\uE14E " + marbles);
64+
lines.add("\uE14E Marbles " + marbles + "/20");
6565

6666
return lines;
6767
}

src/main/resources/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
developmentMode: true
2-
defaultGamemode: 0
32
maxPlayers: 100
43
minPlayers: 3
54

0 commit comments

Comments
 (0)