
Minecraft'da /xp Komutu: Deneyim Puanı Verme ve Alma
Minecraft'te /xp komutu, herhangi bir oyuncuya anında deneyim puanı veya seviye verme/takma işlemlerini gerçekleştirir. Kreatif mod, büyü testleri, hız yarışları ve çok oyunculu sunucularda ilerlemeyi yönetmek için gereklidir. Yeni bir oyuncuyu desteklemek veya bir etkinlik için seviyeleri sıfırlamak istiyorsanız, söz dizimi öğrenmek kolaydır.
Neyin Yaptığını Anlama
/xp komutu, normal deneyim kazanıma olan ihtiyacı tamamen ortadan kaldırır. Belirli bir seviyeye ulaşmak için saatlerce mob öldürmek yerine, kendinize veya diğer oyunculara anında deneyim puanı verebilirsiniz. Kreatif moda, hayatta kalma dünyelerine, tek oyunculu, çok oyunculu sunuculara, Realms'e - her yerde çalışır.
Bu komutu ilk olarak, büyülü ekipmanları test etmek için yarı gün boyunca seviye kazanmak zorunda kalmadan kullanmaya başladım. Şimdi, SMP'mi çalıştırmayı veya hız yarışları sıfırlamayı bu komut olmadan düşünmek mümkün değil.
Bazit Söz Dizimi ve Yapı
Komutun merkezi gerçekten basittir, bir kez gördüğünüzde:
/xp add <oyuncu> <miktar> [puan|seviye]
Oyuna, "xp add" (deneyim ekle) söyleyip, hangi oyuncuya, ne kadar ve hangi birimi ölçtüğünüzü belirtiyorsunuz. Kendinize anında 100 deneyim puanı vermek için:
/xp add @s 100
@s, self (kendisi) anlamına gelir - sizin, komutu yürüten oyuncuyu hedefler. Başka bir oyuncuya deneyim puanı vermek istiyorsanız, tam oyuncu adını kullanın:
/xp add Steve 50 puan
Bir grupla aynı anda deneyim puanı vermek istiyorsanız, @a kullanılır:
/xp add @a 20 seviye
Bu komut, sunucunuzdaki her oyuncuya anında 20 seviye verir. Etkinlikler, yarışmalar veya herkesin aynı başlangıç noktasından başlamasını istediğiniz durumlarda inanılmaz derecede faydalı.
Puan vs. Seviye - Farkı Anlama
Bu, çoğu kişinin karıştığı bir alandır ve doğru olduğundan emin olmak için bu durumu dikkatlice test ettiğimi itiraf ediyorum. Minecraft, deneyim puanlarını iki ayrı şekilde aynı anda takip eder.
Birincisi, ekranınızda dolu olan yeşil çubuk olan ham deneyim puanlarıdır. İkincisi, çubuk nebenumber displayed next to the bar. They're linked, but the relationship isn't simple or linear.
Early levels are cheap. You need about 7 points to gain your first level. By level 30, each level costs roughly 62 points. Keep climbing and the cost jumps exponentially. The math gets messy fast, honestly.
Which Unit Should You Use
When you use /xp add <player> 20 levels, the game converts that into the exact number of points needed for 20 levels at the player's current level. But if you use /xp add <player> 100 points with just points, you're adding raw points - that might only earn a fraction of a level depending where they're.
Levels are usually better for general play. They're intuitive and scale automatically. Look, if you want consistent rewards for an event, give levels.
Points are more precise for testing or building scoreboards.
Practical Commands You'll Use
Say you're setting up a speedrun race and everyone needs to start fair. Reset everyone to level 0:
/xp set @a 0 levels
Now give the group a starting level:
/xp add @a 30 levels
Everyone's at level 30. Equal footing.
Maybe you want to test an enchanted weapon. Give yourself some levels for enchanting:
/xp add @s 50 levels
You can also remove experience using negative numbers:
/xp add @s -25 points
That takes 25 points away. I've used this to gently penalize players exploiting mob farms without banning them - just a reset and a conversation.
Beyond "Add" - Other Command Modes
The command has a few other modes beyond just adding. "Set" places someone at an exact amount, ignoring whatever they had before:
/xp set @s 15 levels
Now you're at level 15, period.
There's also query mode for checking someone's current XP, but that's mostly admin work for scoreboards or debugging. The basics with "add" and "set" handle almost everything practical.
Server Administration and Fairness
On multiplayer servers, the /xp command becomes essential for balance. When a new player joins my small SMP mid-season, they're behind everyone grinding for weeks. A quick boost gets them in the game without feeling like charity.
During competitions or events, you can set everyone to the same level so nobody has an unfair advantage from grinding more experience beforehand. Everyone starts fresh.
Server administrators often pair /xp with command blocks and scoreboards to create custom progression systems. If you're interested in what other communities build, check out our Minecraft Server List for inspiration. For building progression-based structures, our block search tool helps you find materials that fit your theme.
Common Pitfalls and Pro Tips
Player names are case-sensitive. Typo the name and the command just fails silently - nothing happens, no error message.
This command requires operator permissions on servers. Regular vanilla survival doesn't allow it. If you want experience management on a public server, admins need to enable it through op settings.
The command gives experience directly to players - it doesn't create droppable XP bottles or items. That's just how it functions. Also, there's no visual effect or sound, so players might not notice they gained levels unless they're watching their bar.
Some servers add a tellraw message or particle effect alongside the command to make the reward obvious to players.
Creative Applications Beyond Basic Leveling
I've used /xp for way more than just basic leveling. Command blocks can trigger it automatically when players complete challenges in mini-games. Custom games reward winners with experience. You can tie it to scoreboards for fully automated progression systems.
The possibilities expand once you start combining it with other commands. Command chains, targeted selectors, scoreboards - there's real potential there if you want to build something complex.
Worth Using This Command
The /xp command solves real problems in your gameplay and server management. It's straightforward once you memorize the basic syntax, and it saves enormous amounts of time grinding when you're testing gear or running events.
Give it a try next time you're in creative mode or setting up an event. You'll wonder how you ever played without it.
Lead writer at minecraft.how. Long-time Minecraft player running a small SMP server, testing every build, mod, and seed before writing about it.


