Skip to content
This repository was archived by the owner on Mar 15, 2023. It is now read-only.

Commit 17e8050

Browse files
committed
chore: 🔖 2.3.0
1 parent df4e578 commit 17e8050

File tree

6 files changed

+33
-8
lines changed

6 files changed

+33
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
### Fixed
1414
### Security -->
1515

16+
## [2.3.0] - 2020-12-31
17+
18+
### Added
19+
20+
- `/cs goto` command, to TP the player to a precise place.
21+
1622
## [2.2.0] - 2020-12-01
1723

1824
### Added

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
- [gis](#gis)
4141
- [hedges](#hedges)
4242
- [hedgesnear](#hedgesnear)
43-
- [Default allowed & ignored allowedBlocks](#default-allowed--ignored-allowedblocks)
43+
- [goto](#goto)
44+
- [Default allowed & ignored blocks](#default-allowed--ignored-blocks)
4445
- [Roadmap](#roadmap)
4546
- [Contributing](#contributing)
4647
- [License](#license)
@@ -101,6 +102,7 @@ Open the zip file, go to `/lib` and move `rhino-1.7.12.jar` (or newer) to your `
101102
- **gis_fr** : Get better elevation data in France
102103
- **gis_jp** : Get better elevation data in Japan
103104
- **gis_no** : Get better elevation data in Norway
105+
- **goto** : TP the player to a precise place
104106

105107
Do you need another function? Request it [here](https://github.com/oganexon/BTE-tools/issues).
106108

@@ -415,7 +417,22 @@ Examples :
415417

416418
![](images/hedges-.png)
417419

418-
## Default allowed & ignored allowedBlocks
420+
### goto
421+
422+
```sh
423+
/cs goto <search query>
424+
```
425+
426+
Examples :
427+
428+
```sh
429+
/cs goto Paris
430+
/cs goto Abidjan
431+
/cs goto Area 51, USA
432+
/cs goto Machu Picchu, Peru
433+
```
434+
435+
## Default allowed & ignored blocks
419436

420437
The blocks ignored by default are used to not draw a path on the vegetation.
421438
```js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bte-tools",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "Awesome tools and scripts to enhance your experience on the Build The Earth project!",
55
"scripts": {
66
"lint": "standard src/**/*.js --fix",

src/address.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const urltext = `https://nominatim.openstreetmap.org/reverse?format=jsonv2&lat=$
1818

1919
const url = new URL(urltext)
2020
const c = url.openConnection()
21-
c.addRequestProperty('User-Agent', 'BTE-tools/1.0.2')
21+
c.addRequestProperty('User-Agent', 'BTE-tools')
2222

2323
const is = c.getInputStream()
2424

src/goto.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const urlText = encodeURI(
2323
)
2424
const url = new URL(urlText)
2525
const c = url.openConnection()
26-
c.addRequestProperty('User-Agent', 'BTE-tools/1.0.2')
26+
c.addRequestProperty('User-Agent', 'BTE-tools')
2727

2828
const is = c.getInputStream()
2929
const writer = new StringWriter()

src/modules/usage.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,12 @@ export const tpll = `${command}/cs tpll ${required}<latitude> <longitude> ${requ
142142
${example}/cs tpll 47.58523 6.89725
143143
${example}/cs tpll 47.58523, 6.89725 370
144144
${example}/cs tpll 47°35'6.32"N 6°53'50.06"E
145-
${example}/cs tpll 47°35'6.32"N, 6°53'50.06"E 370`
145+
${example}/cs tpll 47°35'6.32"N, 6°53'50.06"E 370
146+
`
146147

147-
export const goto = `${command}/cs goto ${required}<Search query>
148+
export const goto = `${command}/cs goto ${required}<search query>
148149
${example}/cs goto Paris
149150
${example}/cs goto Abidjan
150151
${example}/cs goto Area 51, USA
151-
${example}/cs goto Machu Picchu, Peru`
152+
${example}/cs goto Machu Picchu, Peru
153+
`

0 commit comments

Comments
 (0)