Public Remote Media Server Project

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Public Remote Media Server Project

by sofar » Post


Maverick2797
Member
Posts: 128
Joined: Sun Aug 05, 2018 12:37
In-game: Maverick2797
Location: Poking about here and there...

Re: Public Remote Media Server Project

by Maverick2797 » Post

Btw advtrains has moved its git location away from github. From advtrains.de/wiki:
The source code for Advtrains is available on Bananach.space. Latest version is 2.1.0.

Old versions prior to August 2018 are available on GitHub. @gpcf also mirrored versions prior to February 2017.
New git: https://git.bananach.space/advtrains.git
Latest release is 2.1.3 (also available on contentDB)
The number you have called is not available during a solar eclipse. This message will self destruct in ten seconds in protest... [BEEP]

pevernow
Member
Posts: 10
Joined: Sun Oct 04, 2020 04:33
GitHub: pevernow
IRC: pevernow
In-game: pevernow

Re: Public Remote Media Server Project

by pevernow » Post

What about mg_villages?

pevernow
Member
Posts: 10
Joined: Sun Oct 04, 2020 04:33
GitHub: pevernow
IRC: pevernow
In-game: pevernow

Re: Public Remote Media Server Project

by pevernow » Post

Please add Petz. Thank you

User avatar
Minix
Member
Posts: 144
Joined: Thu Nov 12, 2020 13:51
In-game: Minix

Re: Public Remote Media Server Project

by Minix » Post

Hello, could you please add these mods ? By the way thanks a lot for your service, it helps us self-hosted people a ton

dmobs https://github.com/D00Med/dmobs/
mobs_water https://github.com/blert2112/mobs_water

Sokomine
Member
Posts: 4276
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: Public Remote Media Server Project

by Sokomine » Post

pevernow wrote: What about mg_villages?
Probably not so highly needed as mg_villages doesn't come with many textures. I'm not at all good at texture art and try to get away with re-using existing textures if possible :-) However, having a complete set of remote media data certainly couldn't hurt.
A list of my mods can be found here.

Emojiminetest
Member
Posts: 38
Joined: Sat Jun 06, 2020 00:21
GitHub: Emojigit

Re: Public Remote Media Server Project

by Emojiminetest » Post

Can you add these mods?

These mods come from C&C City Server.
3d_armor
3d_armor_sfinv
3d_armor_stand
3d_armor_ui
advtrains
advtrains_interlocking
advtrains_line_automation
advtrains_luaautomation
advtrains_platform
advtrains_signals_ks
advtrains_train_industrial
advtrains_train_japan
advtrains_train_steam
advtrains_train_subway
advtrains_train_track
airtanks
angledstairs
anti_lava_area
antishroom
apartment
3d_armor
3d_armor_sfinv
3d_armor_stand
3d_armor_ui
advtrains
advtrains_interlocking
advtrains_line_automation
advtrains_luaautomation
advtrains_platform
advtrains_signals_ks
advtrains_train_industrial
advtrains_train_japan
advtrains_train_steam
advtrains_train_subway
advtrains_train_track
airtanks
angledstairs
anti_lava_area
antishroom
apartment
areas
assets
atchat
atm
bakedclay
bale
balloonblocks
ban_hacker
banish
banners
barrier
basic_houses
basic_materials
basic_robot
basic_signs
beacons
better_fences
better_nametags
biome_lib
block_in_block
boards
bonemeal
books
bouncy_bed
bows
brick_furnace
bridger
bucket
bucket_wooden
building_blocks
builtin_item
c_doors
cake
canned_food
cannons
castle_farming
castle_gates
castle_lighting
castle_masonry
castle_shields
castle_storage
castle_tapestries
castle_weapons
cblocks
ccs_commands
ccs_jail
ccs_more_roles
ccserver_guide
chat_record
climate_api
computer
concrete
cottages
crafting_bench
currency
death_messages
digiboard
digiline_network
digiline_remote
digiline_terminal
digilines
digilines_crafting
digilines_memory
digilines_weather_sensor
digiprinter
digistuff
digiterms
digtron
disable_rc
disco_trains
discordmt_pvp
display_api
drawers
ehlphabet
elevator
emoji
emote
enchanting
engrave
ethereal
extra_doors
extranodes
fake_fire
farebox
farming
farming_nextgen
feedlot
filter
fireworkz
fluid_lib
fluid_tanks
fluid_transfer
fluidity
font_api
font_metro
food
food_basic
freezer
function_delayer
glass_stained
groundline
ham_radio
handholds
handle_schematics
hbarmor
hbhunger
heads
hidden_chests
homedecor_3d_extras
homedecor_bathroom
homedecor_bedroom
homedecor_books
homedecor_climate_control
homedecor_clocks
homedecor_cobweb
homedecor_common
homedecor_doors_and_gates
homedecor_electrical
homedecor_electronics
homedecor_exterior
homedecor_fences
homedecor_foyer
homedecor_furniture
homedecor_furniture_medieval
homedecor_gastronomy
homedecor_kitchen
homedecor_laundry
homedecor_lighting
homedecor_misc
homedecor_office
homedecor_pictures_and_paintings
homedecor_plastic
homedecor_roofing
homedecor_seating
homedecor_tables
homedecor_trash_cans
homedecor_wardrobe
homedecor_windows_and_treatments
hot_air_balloons
hp20
hudbars
ilights
illumination
inbox
init_message
itemframes
jeans_economy
kicktools
know_where_you_die
laptop
laptop_pc1
lava_n_water
lavalamp
lavastuff
leg_mese
linetrack
locked_travelnet
locks
lrfurn
mail
mailbox
maple
maptools
mcl_anvil_for_mt_game
mcl_chests
mcl_util
memorandum
mesecar
mesecons
mesecons_alias
mesecons_blinkyplant
mesecons_button
mesecons_commandblock
mesecons_delayer
mesecons_detector
mesecons_doors
mesecons_extrawires
mesecons_fpga
mesecons_gates
mesecons_hydroturbine
mesecons_insulated
mesecons_lamp
mesecons_lightstone
mesecons_luacontroller
mesecons_materials
mesecons_microcontroller
mesecons_movestones
mesecons_mvps
mesecons_noteblock
mesecons_pistons
mesecons_powerblock
mesecons_powerplant
mesecons_pressureplates
mesecons_random
mesecons_receiver
mesecons_solarpanel
mesecons_stickyblocks
mesecons_switch
mesecons_torch
mesecons_walllever
mesecons_window
mesecons_wires
metal_melter
metrosigns
mob_horse
mobf_trader
mobkit
mobs
mobs_animal
mobs_crocs
mobs_fish
mobs_jellyfish
mobs_npc
mobs_sharks
mobs_turtles
modlib
modutil
mokapi
more_mese
more_mese_post_light
moreblocks
morelights
morelights_extras
morelights_modern
morelights_vintage
moremesecons_adjustable_blinkyplant
moremesecons_adjustable_player_detector
moremesecons_commandblock
moremesecons_conductor_signalchanger
moremesecons_dual_delayer
moremesecons_entity_detector
moremesecons_igniter
moremesecons_induction_transmitter
moremesecons_injector_controller
moremesecons_jammer
moremesecons_luablock
moremesecons_luacontroller_tool
moremesecons_mesechest
moremesecons_sayer
moremesecons_signalchanger
moremesecons_switchtorch
moremesecons_teleporter
moremesecons_timegate
moremesecons_utils
moremesecons_wireless
moreores
moresigns
moretrains_basic
moretrains_industrial
moretrains_japan
moretrains_steam
moretrains_vintage
moretrees
multifurnace
multihome
mymillwork
nnsay
no_hack_client
notices
ontime_clocks
orbs_of_time
overpowered
painted_3d_armor
pathv7
pencil_redo
petz
pie
pipeworks
place_node
plasmascreen
pos_marker
pvp_spawn
quartz
random_messages
realestate
regional_weather
reportlist
rgblightstone
ropes
scuba
server_flags
server_news
servercleaner
serversay
shields
shooter
shooter_crossbow
shooter_flaregun
shooter_grenade
shooter_guns
shooter_hook
shooter_rocket
shooter_turret
signs
signs_api
signs_lib
signs_road
simple_streetlights
skinsdb
smartshop
smod_colored_chat
snow
space
space_moon
space_planets
spacesuit
spectator_mode
stained_glass
stairsplus
steles
str_helpers
streets
stuff_generator
subcommands
technic
technic_chests
technic_cnc
technic_cnc_improve
technic_grass_clean
technic_hv_extend
technic_lamp
technic_sawmill
technic_sawmill
technic_solar_furnace
technic_worldgen
teleport_potion
textline
tinfo
tinkering
titanium
toolranks
towercrane
tpr
trainblocks
trampoline
trash_can
travelnet
ts_workshop
unified_inventory
unified_inventory_plus
unifieddyes
unknown_item
unknownnode
vehicles
visable_air
vote
vote_time
walkway
we_undo
wieldview
wiki
windmill
wine
witches
worldedit
worldedit_brush
worldedit_commands
worldedit_gui
worldedit_shortcommands
wrench
xban2
xdecor Just ignore those mods can't find. Thanks.

Emojiminetest
Member
Posts: 38
Joined: Sat Jun 06, 2020 00:21
GitHub: Emojigit

Re: Public Remote Media Server Project

by Emojiminetest » Post


Emojiminetest
Member
Posts: 38
Joined: Sat Jun 06, 2020 00:21
GitHub: Emojigit

Re: Public Remote Media Server Project

by Emojiminetest » Post

I did it on C&C Servers

User avatar
sparky
Member
Posts: 154
Joined: Sun Oct 05, 2014 00:54
GitHub: Elkien3
IRC: ircSparky
In-game: sparky
Location: USA
Contact:

Re: Public Remote Media Server Project

by sparky » Post

Do custom mods need to be supplied with git? The minetest server doesn't send the mods automatically, does it?
edit: looks like the case, should've read a bit more, sorry.

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Public Remote Media Server Project

by sofar » Post

UPDATE

Long overdue, but, since many servers still use the public remote media server, I am currently updating the server and focusing on 2 sets of changes:

1. Relying on CDB to add new mods and games automatically to the PRMS. This means over 1800 mods will now automatically be hosted through the remote media server.

In the next few days most of this content will be slowly added to the PRMS to prevent it from overloading the CDB API and monitoring the disk space needed to host this.

2. Rejecting connections from clients that omit referrer URLS or are adware or paid.

We want to encourage people to use the PRMS for non-commercial purposes in open source clients. There are some clients which are Ad-supported and ones that obfuscate certain HTTP request fields. These clients will be rejected in the future and no remote media will be offered to them by the PRMS. If some people want to pay me for this service for ad-supported clients, maybe they can help foot the bill for it :P.

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Public Remote Media Server Project

by sofar » Post

One note: Currently mods from CDB that are hosted in GIT are automatically imported and/or updated. The PRMS does not yet support mods from CDB that are uploaded as ZIP releases. Maybe I will, maybe I won't add this. I don't know yet.

User avatar
rubenwardy
Moderator
Posts: 6969
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: Public Remote Media Server Project

by rubenwardy » Post

sofar wrote:
Mon Feb 20, 2023 01:39
2. Rejecting connections from clients that omit referrer URLS or are adware or paid.
Unfortunately this leaves the servers having to pick up the slack, ruining the experience for legitimate players
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: Public Remote Media Server Project

by Desour » Post

rubenwardy wrote:
Mon Feb 20, 2023 17:34
sofar wrote:
Mon Feb 20, 2023 01:39
2. Rejecting connections from clients that omit referrer URLS or are adware or paid.
Unfortunately this leaves the servers having to pick up the slack, ruining the experience for legitimate players
Sounds more like an engine issue. Media packets should be handles with much lower priority than everything else (preferably controlled by a setting). And it should be possible to just block all clients that try to download media the non-http way.

Btw. @sofar are you planning to also block commercial servers and servers that are not publicly announced on servers.minetest.net, and servers with a secret default-password?

(P.S.: It's "referer".)
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Public Remote Media Server Project

by sofar » Post

DS-minetest wrote:
Mon Feb 20, 2023 19:03
rubenwardy wrote:
Mon Feb 20, 2023 17:34
sofar wrote:
Mon Feb 20, 2023 01:39
2. Rejecting connections from clients that omit referrer URLS or are adware or paid.
Unfortunately this leaves the servers having to pick up the slack, ruining the experience for legitimate players
Sounds more like an engine issue. Media packets should be handles with much lower priority than everything else (preferably controlled by a setting). And it should be possible to just block all clients that try to download media the non-http way.

Btw. @sofar are you planning to also block commercial servers and servers that are not publicly announced on servers.minetest.net, and servers with a secret default-password?

(P.S.: It's "referer".)
Lol, no: https://www.google.com/search?q=referre ... vs+referer :D

So, currently most of the clients all send the proper Referrer URL with their request. The only exception seems to be 1 or 2 IOS clones. They may very well be using some 0.4.x client code still. These clients are starting a local server, and then pointing their client to the PRMS for downloading media that is local to the IOS client.

There really is no downside to blocking these clients. The App vendor may run into complaining users that their game looks like crap. Not my problem at all. The app specifically is KawaiiWorld, and it displays fullscreen ads even if you play on public MT servers with it.

Many other clones including MultiCraft properly send server referrer URLS. I'm not currently blocking them. I don't really intend to, because it's the server that is sending them to the PRMS, and not the client. This is different from e.g. KawaiiWorld.

However, I do from time to time look at which servers are sending clients to the PRMS. If I find that there's someone making money off their server in some way (e.g. paid/premium) then I would think I should be in my right to block clients from those server, since I am providing a free service for the benefit of the general public. If clients then have to contact this premium server for media data, I see absolutely nothing wrong with that either.

So for now, the contract is: Clients sending proper referrer URLS with their PRMS requests will get serviced. For now I'm not blocking specific servers, either.

pivert
Member
Posts: 33
Joined: Sun Oct 03, 2021 23:33
In-game: Pivert

Re: Public Remote Media Server Project

by pivert » Post

Hi,

Whatevery I use, I just get a 403. Is the service still running ?

Code: Select all

$ curl -e https://www.pivert.org https://minetestmedia.foo-projects.org/index.mth
<html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx/1.20.2</center>
</body>
</html>
Also, is this the correct way ?

Code: Select all

$ curl -e https://www.pivert.org https://minetestmedia.foo-projects.org/vehicles/textures/vehicles_nizzan2.png
<html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx/1.20.2</center>
</body>
</html>
Also, I do not see any download from my client to the server ? How can I verify clients properly download files from the media server ?


Thanks !
minetestserver on 3 K8S nodes with cloudnative-pg backend

User avatar
Nininik
Member
Posts: 496
Joined: Thu Apr 06, 2023 01:55
GitHub: nininik0
IRC: nininik
In-game: nininik
Location: CA, Team thunderstrike headquarters
Contact:

Re: Public Remote Media Server Project

by Nininik » Post

guys! where is the server adress, cant find it!
↯Glory to Team Thunderstrike!↯
↯T.T.S.↯

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests