Analyzing the Personalities of Minecraft Players With Watson
How Watson and IBM Bluemix can be used to analyze trends in Minecraft behavior, and thus their personalities.
Join the DZone community and get the full member experience.Join For Free
over the holidays, i looked briefly into how to extend minecraft and how to utilize bluemix . in multiplayer games, it might make sense to understand the personalities of competitors or to understand the personalities of players when forming teams. the watson personality insights service might help.
my colleagues kyle brown, joseph kozhaya and srinivas cheemalapati have written a great four parts series create cognitive plugins for minecraft with bluemix, docker, and watson . their introduction explains well the minecraft extensibility model and success:
“what single java program has been used more than any other java program by a whole order of magnitude?" hint: it has sold over 70 million copies since it was first released in beta form in 2009. […] an enormous development ecosystem has grown up around this program, and hundreds of thousands of people have been inspired to learn programming in java – just so they can develop extensions for this program. as you probably guessed from the title, that program is the game minecraft […]. minecraft has been a phenomenal success in the marketplace, and part of that is due to its unique structure: you purchase the client (the face of the game) commercially, but the servers are open for extension.”
i followed the steps in the articles to deploy a minecraft server to bluemix via docker. as an example of a multiplayer game, i installed the bedwars reloaded plugin. the biggest problem i had was missing permissions. as a shortcut, i gave myself maximal rights in the ops.json file. the following lines are the changes and extensions i had to do to the dockerfile.
run mkdir plugins add ops.json ./ops.json add server.properties ./server.properties add helloworld.jar /plugins/helloworld.jar add bedwarsrel.jar /plugins/bedwarsrel.jar add permissionsbukkit-2.3 /plugins/permissionsbukkit-2.3 add multiverse-core-2.4.jar /plugins/multiverse-core-2.4.jar add kingdoms ./kingdoms
as described by my colleagues you have to turn off authentication which shouldn’t be done for production environments. also it looks like most minecraft plugins have not been developed as cloud native applications. instead data and configuration is stored on disk and gets lost when docker instances are deleted.
i followed the instructions in the articles to build my own plugin using watson personality insights. when you enter “/watson showpersonality @oprah” it displays the values of that twitter user returned by the watson service. to make this more useful it would be good not (only) to use twitter but also the content of previous minecraft chats.
Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.