Bu rehber, NetherBedrockRandomizer plugin'ini GitHub'a yedeklemek için adım adım talimatlar içerir.
# Git kurulu mu?
git --version
# Kurulu değilse (Ubuntu/Debian):
sudo apt install git
# Veya (Fedora/RHEL):
sudo dnf install git- GitHub hesabın var mı? → https://github.com/signup
- SSH Key oluştur (önerilir) veya HTTPS kullan
# Proje klasörüne git
cd /home/msncakma/plugins/NetherBedrockRandomizer
# Git repository'yi başlat
git init
# Kullanıcı bilgilerini ayarla (ilk kez ise)
git config user.name "msncakma"
git config user.email "msn.gmgm@gmail.com"# Mevcut dosyaları stage'e al (.gitignore sayesinde target/ hariç)
git add .
# İlk commit
git commit -m "Initial commit: NetherBedrockRandomizer v1.0.0
- Folia 1.21.4-1.21.8 support
- High-performance bedrock randomizer
- Thread-safe chunk processing
- Comprehensive documentation
- Build tested and working"- https://github.com/new adresine git
- Repository bilgilerini doldur:
- Repository name:
NetherBedrockRandomizer - Description:
High-performance bedrock randomizer for Folia servers - Prevents seed-based cheating - Public veya Private seç
- README ekleme (zaten var)
- .gitignore ekleme (zaten var)
- License: MIT (zaten var)
- Repository name:
- Create repository tıkla
# GitHub CLI ile (kurulu ise)
gh repo create NetherBedrockRandomizer --public --source=. --remote=origin --push
# Description ekle
gh repo edit --description "High-performance bedrock randomizer for Folia servers"# HTTPS (kullanıcı adı + password/token gerekir)
git remote add origin https://github.com/KULLANICI_ADIN/NetherBedrockRandomizer.git
# VEYA SSH (SSH key varsa - önerilir)
git remote add origin git@github.com:KULLANICI_ADIN/NetherBedrockRandomizer.git
# Remote'u kontrol et
git remote -v
# Main branch'i oluştur ve push et
git branch -M main
git push -u origin main# Browser'da kontrol et
# https://github.com/KULLANICI_ADIN/NetherBedrockRandomizer
# Aşağıdakileri görmelisin:
# ✅ README.md görünüyor
# ✅ 7 Java dosyası
# ✅ pom.xml
# ✅ config.yml ve plugin.yml
# ✅ Dokümantasyon dosyaları
# ✅ target/ klasörü YOK (.gitignore sayesinde)- Repository sayfanda Releases → Create a new release
- Tag version:
v1.0.0 - Release title:
NetherBedrockRandomizer v1.0.0 - Description:
## NetherBedrockRandomizer v1.0.0
First stable release! 🎉
### Features
- ✅ Folia 1.21.4-1.21.8 support
- ✅ High-performance bedrock randomization
- ✅ Thread-safe chunk processing
- ✅ Zero memory leaks
- ✅ Configurable settings
- ✅ Command system (/nbr)
- ✅ Real-time statistics
### Installation
Download `NetherBedrockRandomizer-1.0.0.jar` and place in `plugins/` folder.
### Requirements
- Folia 1.21.4+ (or Paper 1.21.4+)
- Java 21
See [README.md](README.md) for full documentation.- Attach JAR: Upload
target/NetherBedrockRandomizer-1.0.0.jar - Publish release
# Değişiklikleri yap (kod düzenle, test et, etc.)
# Değişiklikleri gör
git status
# Değişen dosyaları stage'e al
git add .
# Commit
git commit -m "Fix: [açıklama]"
# Push
git push origin main# Durum kontrol
git status
# Değişiklikleri gör
git diff
# Log göster
git log --oneline
# Branch oluştur
git checkout -b feature/new-feature
# Branch değiştir
git checkout main
# Merge
git merge feature/new-feature
# Pull (remote'dan çek)
git pull origin main
# Push (remote'a gönder)
git push origin main- ❌ Production server config'leri
- ❌ Database şifreleri
- ❌ API keys
- ❌ Custom seed değerleri (production)
- ❌ Server IP'leri
- ✅
target/- Build artifacts - ✅
.idea/- IDE files - ✅
*.log- Log files - ✅
server.properties- Server configs
README'ye şunları ekleyebilirsin:
- Badge'ler (build status, version, license)
- Screenshots/GIFs (bedrock randomization örneği)
- Installation video
- Discord link
GitHub Issues kullan:
- Bug reports
- Feature requests
- Questions
Detaylı dokümantasyon için GitHub Wiki kullan:
- API documentation
- Configuration guide
- Performance tuning
- Troubleshooting
GitHub Actions ile otomatik build:
# .github/workflows/maven.yml
name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: '21'
- name: Build with Maven
run: mvn clean packageArtık plugin'in GitHub'da yedekli ve güvende! 🎉
- ✅ Test sunucusu kur
- ✅ Plugin'i test et (TEST_GUIDE.md'ye bak)
- ✅ Bug'ları düzelt (varsa)
- ✅ Production'a deploy et
- ✅ Community feedback topla
Repository URL'ini paylaş! 🌟
https://github.com/KULLANICI_ADIN/NetherBedrockRandomizer