aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2025-03-26 13:40:04 +0100
committerHimbeer <himbeer@disroot.org>2025-03-26 13:40:22 +0100
commitc0a5b96e20a1dc1e7d1509f0612c18d4532a41ca (patch)
tree701ac70abd54195c83055de04c6236a4485433a3
parent7800bf490fa92879dfc46a54836624a8d1c6c6f6 (diff)
Update to Luanti 5.11
Closes #161.
-rw-r--r--README.md3
-rw-r--r--formspec.go2
-rw-r--r--proxy.go4
3 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index 4c649f9..92ebfa2 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,8 @@ for all versions that were ever supported:
* Minetest 5.7: [629d57a651b46539af3ffed36fb0649b3ea6d346](https://github.com/HimbeerserverDE/mt-multiserver-proxy/commit/629d57a651b46539af3ffed36fb0649b3ea6d346), chat command plugin: [718f8defad54adc04ac81f535b6d59c82a13298e](https://github.com/HimbeerserverDE/mt-multiserver-chatcommands/commit/718f8defad54adc04ac81f535b6d59c82a13298e)
* Minetest 5.8: [efeceb162b2fd45994bf09023eea065519b6b89b](https://github.com/HimbeerserverDE/mt-multiserver-proxy/commit/15c56b8806030984c2cfdc04a5455a366eca44d4), chat command plugin: [15c56b8806030984c2cfdc04a5455a366eca44d4](https://github.com/HimbeerserverDE/mt-multiserver-chatcommands/commit/15c56b8806030984c2cfdc04a5455a366eca44d4)
* Minetest 5.9: [143f14722b6c23cebd9a625e517d5988e8330baa](https://github.com/HimbeerserverDE/mt-multiserver-proxy/commit/143f14722b6c23cebd9a625e517d5988e8330baa), chat command plugin: [86bd26badf51258be23a73bb48e5b55b28aa2c07](https://github.com/HimbeerserverDE/mt-multiserver-chatcommands/commit/86bd26badf51258be23a73bb48e5b55b28aa2c07)
-* Luanti 5.10: latest
+* Luanti 5.10: [7800bf490fa92879dfc46a54836624a8d1c6c6f6](https://github.com/HimbeerserverDE/mt-multiserver-proxy/commit/7800bf490fa92879dfc46a54836624a8d1c6c6f6), chat command plugin: [8ea5400bdd4f68bbccb8f25e8f60c1346d218ff8](https://github.com/HimbeerserverDE/mt-multiserver-chatcommands/commit/8ea5400bdd4f68bbccb8f25e8f60c1346d218ff8)
+* Luanti 5.11: latest
The chat command plugin commit hashes are mainly specified for old proxy
versions that didn't support automatic plugin building and version management
diff --git a/formspec.go b/formspec.go
index db0688d..8cac522 100644
--- a/formspec.go
+++ b/formspec.go
@@ -6,7 +6,7 @@ import (
var itemName = regexp.MustCompile("(item_image\\[[0-9.-]+,[0-9.-]+;[0-9.-]+,[0-9.-]+;)([a-zA-Z0-9-_.: ]+)(\\])")
var itemButtonName = regexp.MustCompile("(item_image_button\\[[0-9.-]+,[0-9.-]+;[0-9.-]+,[0-9.-]+;)([a-zA-Z0-9-_.: ]+)(;[a-zA-Z0-9-_.: ]+;[^\\[\\]]*\\])")
-var textureName = regexp.MustCompile("([a-zA-Z0-9-_.]+\\.(?i:png|jpg|jpeg|bmp|tga|obj|b3d|x|gltf|glb))")
+var textureName = regexp.MustCompile("([a-zA-Z0-9-_.]+\\.(?i:png|jpg|jpeg|tga|obj|b3d|x|gltf|glb))")
func (sc *ServerConn) prependFormspec(fs *string) {
*fs = ReplaceAllStringSubmatchFunc(textureName, *fs, func(groups []string) string {
diff --git a/proxy.go b/proxy.go
index 8d69e46..2280b93 100644
--- a/proxy.go
+++ b/proxy.go
@@ -17,8 +17,8 @@ import (
const (
serializeVer = 29
- protoVer = 46
- versionString = "5.10.0"
+ protoVer = 47
+ versionString = "5.11.0"
maxPlayerNameLen = 20
bytesPerMediaBunch = 5000
)