קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
במדריך הזה מוסבר איך להשתמש בתכונה למניעת פיראטיות כדי לאבטח את המשחקים שלכם ל-Android.
התכונה למניעת פיראטיות זמינה רק למשחקים ל-Android. אם ההגנה מפני פיראטיות מופעלת במשחק, שירותי המשחקים של Google Play בודקים אם למשתמש יש רישיון לשחק במשחק. אם אף אחד מחשבונות המשתמשים במכשיר לא מורשה להשתמש במשחק, הקריאות ל-Google Play Games Services שנשלחות מהמשחק נכשלות ומחזירות קוד סטטוס LICENSE_CHECK_FAILED.
כדי לקבל רישיון למשחק, המשתמשים צריכים להתקין אותו מ-Google Play. בדיקת הרישיון מתבצעת גם אם המשחק הוא אפליקציה בחינם וגם אם הוא אפליקציה בתשלום. הבדיקה מתבצעת רק אם המשחק פורסם. משתמשים עם חשבונות בדיקה יכולים לשחק במשחק בלי לרכוש אותו.
הפעל אמצעים נגד פירטיות
כדי להפעיל את התכונה למניעת פיראטיות במשחק ל-Android:
אם עדיין לא עשיתם זאת, פועלים לפי השלבים המפורטים בקטע הגדרת המשחק כדי להוסיף את המשחק ל-Android ל-Google Play Console.
ב-Google Play Console, פותחים את הכרטיסייה Games services ובוחרים את המשחק ל-Android מהרשימה.
פותחים את הכרטיסייה אפליקציות מקושרות ובוחרים את המשחק הקיים ל-Android או מקשרים למשחק חדש ל-Android.
מעבירים את האפשרות הפעלת אמצעים נגד פירטיות למצב מופעל.
לוחצים על שמירה והמשך.
כדי שהבדיקה של הרישיון תופעל, צריך לפרסם את המשחק.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],[],null,["# Anti-piracy for Android games\n\nThis guide describes how to use the anti-piracy feature to secure your\nAndroid games.\n\nThe anti-piracy feature is available for Android games only. If anti-piracy\nis turned on for your game, the Google Play Games Services checks if a user is licensed to\nplay your game. If none of the user accounts on a device are licensed for your\ngame, the Google Play Games Services calls sent by your game fail and return a\n`LICENSE_CHECK_FAILED` status code.\n\nTo be licensed for your game, users must install it from Google Play. The\nlicense checking takes place regardless of whether your game is a free or paid\napp. The checking is only performed if the game is published. Users with test\naccounts can play the game without purchasing it.\n\nEnable anti-piracy\n------------------\n\nTo turn on the anti-piracy feature for your Android game:\n\n1. Follow the steps described in\n [Set Up Your Game](/games/pgs/console/enable-features) to add your Android game\n to the Google Play Console, if you have not done so already.\n\n2. In the Google Play Console, open the **Games services** tab, then\n select your Android game from the list.\n\n3. Open the **Linked apps** tab, then select your existing Android game or\n link to a new Android game.\n\n4. Turn the **Enable anti-piracy** option to **ON**.\n\n5. Click **Save and continue**.\n\n6. Publish your game in order for license checking to be\n activated."]]