Afbeelding niet beschikbaarDe bron kon niet worden geladen (ndat.nl).Bron openen ↗
(Dit is een oude custom plugin van CraftCity die ik heb geupdate met nieuwe functies - Houd ook /record bij)
Afbeelding niet beschikbaarDe bron kon niet worden geladen (ndat.nl).Bron openen ↗
Nielsie schreef:t Is nog leuker als het lukt,Afbeelding
Plugins maken is leuk
(Dit is een oude custom plugin van CraftCity die ik heb geupdate met nieuwe functies - Houd ook /record bij)


Nielsie schreef:Nice.Ben nu bezig met de CraftingPlus plugin voor CraftCity.
Heb al een onderdeel werkend;
YouTube-filmpje
cobblestone & stonebrick worden getransformeerd in mossy door water

Maartenf schreef:Ja, join maar eens op join.craftcity.nl om het in werking te zienHeb al een onderdeel werkend;Eerdere citaten tonen
Nielsie schreef:Ben nu bezig met de CraftingPlus plugin voor CraftCity.
YouTube-filmpje
cobblestone & stonebrick worden getransformeerd in mossy door water
Nice.
Hoe doe je die eerste plugin? Is dat met een variabele die opgehoogd wordt elke keer er iemand joined?

Nielsie schreef:Mss straks.Ja, join maar eens op join.craftcity.nl om het in werking te zienEerdere citaten tonen
Maartenf schreef:Heb al een onderdeel werkend;Eerdere citaten tonen
Nielsie schreef:Ben nu bezig met de CraftingPlus plugin voor CraftCity.
YouTube-filmpje
cobblestone & stonebrick worden getransformeerd in mossy door water
Nice.
Hoe doe je die eerste plugin? Is dat met een variabele die opgehoogd wordt elke keer er iemand joined?

Maartenf schreef:Dat effect vond ik juist leuk, dat kan ik ook weer weghalenMss straks.Eerdere citaten tonen
Nielsie schreef:Ja, join maar eens op join.craftcity.nl om het in werking te zienEerdere citaten tonen
Maartenf schreef:Heb al een onderdeel werkend;Eerdere citaten tonen
Nielsie schreef:Ben nu bezig met de CraftingPlus plugin voor CraftCity.
YouTube-filmpje
cobblestone & stonebrick worden getransformeerd in mossy door water
Nice.
Hoe doe je die eerste plugin? Is dat met een variabele die opgehoogd wordt elke keer er iemand joined?
Wel jammer dat die blocks echt breken, het zou beter zijn zonder dat effect.

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/class"]class[/URL] MinecraftServerConnector [COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/private"]private[/URL] [COLOR= #0000BB]$ipAdress[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/private"]private[/URL] [COLOR= #0000BB]$ipPort[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [COLOR= #0000BB]$online[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [COLOR= #0000BB]$motd[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [COLOR= #0000BB]$numPlayers[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [COLOR= #0000BB]$maxPlayers[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [COLOR= #007700]function[/COLOR] __construct[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ipAdress[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$ipPort[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]ipAdress [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$ipAdress[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]ipPort [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$ipPort[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]getServerInfo[COLOR= #007700]();
}[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [COLOR= #007700]function[/COLOR] getServerInfo[COLOR= #007700]()
{[/COLOR]
[COLOR= #0000BB]$serverStream[/COLOR] [COLOR= #007700]= @[/COLOR]stream_socket_client[COLOR= #007700]([/COLOR][COLOR= #DD0000]tcp://[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]ipAdress [COLOR= #007700].[/COLOR] [COLOR= #DD0000]:[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]ipPort[COLOR= #007700],[/COLOR] [COLOR= #0000BB]$errno[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$errstr[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$serverStream[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]online [COLOR= #007700]=[/COLOR] true[COLOR= #007700];[/COLOR]
[URL="http://www.php.net/fwrite"]fwrite[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$serverStream[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"xfe"[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$h[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/fread"]fread[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$serverStream[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]2048[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/fclose"]fclose[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$serverStream[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$h[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/str_replace"]str_replace[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"x00"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$h[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$h[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/substr"]substr[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$h[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$data[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"xa7"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$h[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/unset"]unset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$h[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/sizeof"]sizeof[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700]) ==[/COLOR] [COLOR= #0000BB]3[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]motd [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$data[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]numPlayers [COLOR= #007700]= (int)[/COLOR] [COLOR= #0000BB]$data[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]maxPlayers [COLOR= #007700]= (int)[/COLOR] [COLOR= #0000BB]$data[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]2[/COLOR][COLOR= #007700]];
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]online [COLOR= #007700]=[/COLOR] false[COLOR= #007700];
}
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]online [COLOR= #007700]=[/COLOR] false[COLOR= #007700];
}
}
}[/COLOR] 
maar dan nog, eerst was het 2 seconden oid..Bjarnootjuh schreef:Kan je daarvoor dan doneren?toevoeging op 26 augustus 2013, 19:01:55:Eerdere citaten tonen
Jasperxs schreef:Kunnen we punten doneren zodat jij MineExpo.nl en .com kan innemen?
.com is al bezet btw
.nl is genoeg toch?
13:Nielsie schreef:Gaat veels te hard zo vind ik, je zou zeg maar elke paar minuten één block moeten doen, anders is de zeldzaamheid erafBen nu bezig met de CraftingPlus plugin voor CraftCity.
Heb al een onderdeel werkend;
YouTube-filmpje
cobblestone & stonebrick worden getransformeerd in mossy door water

Willemmm schreef:Ja hij kiest een random tijd in ticksHeb al een onderdeel werkend;Eerdere citaten tonen
Nielsie schreef:Ben nu bezig met de CraftingPlus plugin voor CraftCity.
YouTube-filmpje
cobblestone & stonebrick worden getransformeerd in mossy door water
Gaat veels te hard zo vind ik, je zou zeg maar elke paar minuten één block moeten doen, anders is de zeldzaamheid eraf
ik weet ook nog niet wat een goede range daarvoor is