I was wondering how I can change my game difficulty and how to change my game to creative. Every time I type in /gamemode 1 or /gamemode creative it comes up with:
I am sorry but you do not have permission to perform this command. Please contact the server administrators if you believe that this is an error.
I thought this was weird because I am the server administrator.
41 Answer
You need to configure your Minecraft server. From the Minecraft wiki:
3Configuring the Minecraft server
Configure the server by editing the
server.propertiesfile, the format for which is explained here. Be certain to edit the file with a text editor that does not add formatting (e.g., for italics). Additional configuration may not be necessary as many servers run fine from the default values.Add your username to the
admin.txtand/orops.txt(newer Minecraft versions may not have anadmin.txtfile).Ops.txtandadmin.txtdetermine who may execute server commands. In other words, operator ("op") privileges allow you to control certain aspects of the game (e.g., teleporting players). Op privileges may also be granted from the server GUI: type "op " and it will automatically add to theops.txtfile.