[mod] Rick Roller [rickroll]

User avatar
taikedz
Member
 
Posts: 640
Joined: Sun May 15, 2016 11:11
Location: Scotland, UK
GitHub: taikedz
IRC: DuCake
In-game: DuCake

[mod] Rick Roller [rickroll]

by taikedz » Fri Oct 07, 2016 22:28

Rick Roll your players, or discourage use of certain blocks.

License: LGPL3, media of the actual mod itself is CC-0

By default, the sound is played whenever a player places a default:mese block, but this is configurable in minetest.conf

You can also configure it to play with a random chance on a different block - for example to discourage building with default:cobble, you can add the following to your minetest.conf:

Code: Select all
rickroll.block = default:cobble,default:desertcobble
rickroll.chance = 20


The mod rickroll itself only ships with a MIDI sample (converted to ogg) under CC-0

A collection of extra sounds, samples of actual songs, is available in a different github repository. Check your country's stance on "Fair Use" in copyright before deploying those to your server.

ZIP download: https://github.com/taikedz-mt/rickroll/ ... master.zip

Code on github

Last edited by taikedz on Tue Oct 31, 2017 13:22, edited 1 time in total.
Not my monkeys; not my circus.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
taikedz
Member
 
Posts: 640
Joined: Sun May 15, 2016 11:11
Location: Scotland, UK
GitHub: taikedz
IRC: DuCake
In-game: DuCake

Re: [mod] Rick Roller [rickroll]

by taikedz » Sun Oct 09, 2016 11:53

Yes

The default (implicit) settings are ...

Code: Select all
rickroll.block = default:mese
rickroll.chance = 1


... so every time anybody places a mese block, the tune plays.



In the example in the original post ....

Code: Select all
rickroll.block = default:cobble,default:desertcobble
rickroll.chance = 20


... the sound plays with a 1/20 chance when a player places a cobble stone or desert cobble stone block.

For example.
Not my monkeys; not my circus.
 

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

Re: [mod] Rick Roller [rickroll]

by rubenwardy » Sun Oct 09, 2016 15:02

Rick ashley did an Ask Me Anything on reddit. This was one of the questions:

Image
 

User avatar
taikedz
Member
 
Posts: 640
Joined: Sun May 15, 2016 11:11
Location: Scotland, UK
GitHub: taikedz
IRC: DuCake
In-game: DuCake

Re: [mod] Rick Roller [rickroll]

by taikedz » Sun Oct 09, 2016 15:54

It really lets everyone down :(

(that being said, the asker *did* edit their question after the response so who knows what the original was :-P)
Not my monkeys; not my circus.
 

User avatar
gpcf
Member
 
Posts: 273
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [mod] Rick Roller [rickroll]

by gpcf » Sun Oct 09, 2016 20:34

You could also add a 17.4 kHz noise to child-proof your server.
 

User avatar
taikedz
Member
 
Posts: 640
Joined: Sun May 15, 2016 11:11
Location: Scotland, UK
GitHub: taikedz
IRC: DuCake
In-game: DuCake

Re: [mod] Rick Roller [rickroll]

by taikedz » Mon Oct 10, 2016 02:26

Totally up to you.
Not my monkeys; not my circus.
 

User avatar
ChimneySwift
Member
 
Posts: 319
Joined: Fri Sep 22, 2017 06:46
Location: 127.0.0.1
GitHub: ChimneySwift
IRC: ChimneySwift
In-game: ChimneySwift

Re: [mod] Rick Roller [rickroll]

by ChimneySwift » Tue Oct 31, 2017 01:19

The link is broken....
A spoon is basically a tiny bowl with a stick on it
 

User avatar
taikedz
Member
 
Posts: 640
Joined: Sun May 15, 2016 11:11
Location: Scotland, UK
GitHub: taikedz
IRC: DuCake
In-game: DuCake

Re: [mod] Rick Roller [rickroll]

by taikedz » Tue Oct 31, 2017 13:23

Ah sorry -- fixed.
Not my monkeys; not my circus.
 

User avatar
ChimneySwift
Member
 
Posts: 319
Joined: Fri Sep 22, 2017 06:46
Location: 127.0.0.1
GitHub: ChimneySwift
IRC: ChimneySwift
In-game: ChimneySwift

Re: [mod] Rick Roller [rickroll]

by ChimneySwift » Tue Oct 31, 2017 21:55

taikedz wrote:Ah sorry -- fixed.

Thanks!
A spoon is basically a tiny bowl with a stick on it
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 4 guests