Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mapserver_mod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Minetest
mapserver_mod
Commits
6e7e3be5
Unverified
Commit
6e7e3be5
authored
4 years ago
by
SX
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Optional QoS support (#13)
parent
8b301338
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.luacheckrc
+1
-1
1 addition, 1 deletion
.luacheckrc
init.lua
+1
-1
1 addition, 1 deletion
init.lua
mod.conf
+1
-1
1 addition, 1 deletion
mod.conf
with
3 additions
and
3 deletions
.luacheckrc
+
1
−
1
View file @
6e7e3be5
...
@@ -21,6 +21,6 @@ read_globals = {
...
@@ -21,6 +21,6 @@ read_globals = {
"minecart", locator = { fields = { "beacons" } },
"minecart", locator = { fields = { "beacons" } },
-- optional mods
-- optional mods
"xban", "monitoring",
"xban", "monitoring",
"QoS",
"mcl_core", "mcl_sounds"
"mcl_core", "mcl_sounds"
}
}
This diff is collapsed.
Click to expand it.
init.lua
+
1
−
1
View file @
6e7e3be5
...
@@ -46,7 +46,7 @@ end
...
@@ -46,7 +46,7 @@ end
-- optional mapserver-bridge stuff below
-- optional mapserver-bridge stuff below
local
http
=
minetest
.
request_http_api
()
local
http
=
QoS
and
QoS
(
minetest
.
request_http_api
(),
2
)
or
minetest
.
request_http_api
()
if
http
then
if
http
then
-- check if the mapserver.json is in the world-folder
-- check if the mapserver.json is in the world-folder
...
...
This diff is collapsed.
Click to expand it.
mod.conf
+
1
−
1
View file @
6e7e3be5
name
=
mapserver
name
=
mapserver
description
=
Mod
for
the
mapserver
.
description
=
Mod
for
the
mapserver
.
optional_depends
=
default
,
dye
,
advtrains
,
minecart
,
monitoring
,
bones
,
mcl_core
,
mcl_sounds
,
mcl_dye
optional_depends
=
default
,
dye
,
advtrains
,
minecart
,
monitoring
,
bones
,
mcl_core
,
mcl_sounds
,
mcl_dye
,
qos
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment